月藏幽梦深海里,她如星火可燃冰。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
【最终成绩 100 + 100 + 75 + 40 == 315】 进入考场,唉不是怎么没有dev c++,这codeblocks我寻思也没用过啊,NOI Linux 系统你让我的Windos对拍怎么玩 就这样考前疯狂调codeblocks终于明白怎么用了,原来文件名需要加上.cpp T1,15min过 T2,45mi…
```cpp #include using namespace std; int n,m; struct are{ int l,r,val;//该区间最左侧的值,最右侧的值,能合成的最大值 }; are f[255][255];//从i-j能合成的最大值 int a[10010]; int main(){ cin >>…
很久以前写的,忘了,回来一看, n^2代码水过2^5数据? ```cpp #include using namespace std; struct sec_max{ int max; int sec; }; int main() { ios::sync_with_stdio(false); cin.tie(0); co…
在讨论《【优先晋级线公布】CSP-J/S 初赛讨论帖》回复:
qp
在讨论《求找bug》回复:
啊啊啊实在是不会写了啊
简单恶魔轮盘 ```cpp #include #include using namespace std; int healthy[4] = {-1,2,3,4}; int aheal,bheal; struct body{ int heal; char buf[10]; }; body a,b; int term,wt…
```cpp #include #include using namespace std; int healthy[4] = {-1,2,3,4}; int aheal,bheal; int nowhit = 1; int nif[4] = {-1,1,2,2}; struct body { int heal; cha…
在讨论《问哪里错了》回复:
@[damuzhi](luogu://user/1127424) 改了,红中tou ```cpp #include using namespace std; int a[100]; char b[1000100]; int f[1000100]; int main(){ int n; cin >> n; for(int…
```cpp #include using namespace std; int a[100]; char b[1000100]; int f[1000100]; int main(){ int n; cin >> n; for(int i = 1; i > a[i]; int lb; cin >> lb; cin >…
在讨论《关于gesp 6级T1》回复:
@[caochenkai](luogu://user/1208635) 对啊,怎么确定两边的站呢?
在讨论《关于gesp 6级T1》回复:
@[caochenkai](luogu://user/1208635) 问怎样对pi排序 考场上想过但没想出来
在讨论《关于gesp 6级T1》回复:
@[ToMaT](luogu://user/1272608) 第二题是dp么,完全不会a
在讨论《求问时间复杂度》回复:
优化分解质因数, 先预处理到1e7的质数, 然后一个一个试
在讨论《民间冬日绘板活动讨论专帖》回复:
qp
在文章《2025 民间冬日绘版活动详情》发表评论:
qp
在讨论《洛谷学术(?)群》回复:
qp
在讨论《问一种思路》回复:
求正确性 要是正确的话求问 小于100000大概有10000个质数,大概是1e9的时间复杂度? 但是只要出现两个整数就结束,会不会能过?
先预处理到1e5的质数 然后 对于每个数,同时除以同一个质数,如果有两个或者两个以上的整数,输出yes 如果没有整数,就把每个数还原,进行下一轮除法 如果所有质数小于100000都试过了输出no
```cpp #include using namespace std; int n,m,cnt; struct node{ int val,l,r; }tree[100010]; int a[100010],root[100010],ls[100010],rs[100010]; int ql,qr; int up_d…
```cpp #include using namespace std; int n,m,cnt; struct node{ int val,l,r; }tree[100010]; int a[100010],root[100010],ls[100010],rs[100010]; int ql,qr; int up_d…
在讨论《无限接近0是不是等于0》回复:
@[difficultlong](luogu://user/1435692) 假设你在跑步,那你就需要 先跑完全程的1/2 在跑完剩下的1/2 在跑完剩下的1/2 ... 如果无限接近于0 != 0 那么你不可能跑完全程,但实际上你会跨过终点,所以无限接近于0 = 0 (个人观点)