朝闻道,夕死可矣
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《30,vector求调必关》回复:
@[zzc2025](luogu://user/1748504)谢谢
```cpp #include using namespace std; vector v; long long sum = 0 , M ; int main() { int n; cin >> n; int m; cin >> m; for(int i = 1 ; i > x; v.push_back(x); } w…
在讨论《95分,必关》回复:
```cpp #include using namespace std; int a[100010],b[100010]; int n,p; double num; bool check(double x){ double ans=0; for(int i=1;i >n>>p; for(int i=1;i >a[i]>…
```cpp #include using namespace std; const int N = 1e4 + 5; int k; char to_char(int n) { if(n == 0) return '0'; if(n == 1) return '1'; if(n == 2) return '2'; if…
在讨论《问下管理员啥时候评的橙,关的题解通道》回复:
@[cgy20140502](luogu://user/1048914)我刚才用dfs写了爆掉了
在讨论《问下管理员啥时候评的橙,关的题解通道》回复:
@[cgy20140502](luogu://user/1048914)是不是双指针超时了
在讨论《64分求调(必回关)》回复:
@[zzc2025](luogu://user/1748504)懂了,很多题我都犯得这个错误,感谢纠正
在讨论《64分求调(必回关)》回复:
@[dongzirui0817](luogu://user/905593)感谢
```cpp #include using namespace std; const int N = 1001; int arr[N], n, a, b , k; bool vis[N]; int ans = INT_MAX; void dfs(int a, int times) { if (times >= ans)…
因学术不端而棕名惩罚 14 天
在讨论《90分求调》回复:
算法太劣了,建议观看题解
在讨论《gesp6级???》回复:
@[Mr_BOOOM](luogu://user/1437066)前面选择直接把动态转移方程给出来了但是按他的写只能得17.5
在讨论《gesp6级???》回复:
@[AIerqwq](luogu://user/1055148)对
在讨论《gesp6级???》回复:
@[zxChicken4088](luogu://user/1282570)谢谢⭐
在讨论《gesp6级???》回复:
@[yangjiaxi0114](luogu://user/1494401)T1骗了5tps,T217.5,最后我回家再写的时候T1就对了,dfs超时了,回溯得用bfs
在讨论《gesp6级???》回复:
@[limoxuan0712](luogu://user/1432277)一模一样
在讨论《10分求大佬调》回复:
看不懂题解,马上比csp-j复赛了,怎么办
``` #include using namespace std; const int N = 1e8+5; int a[N],sum = 0; int main() { a[0] = 6; a[1] = 2; a[2] = 5; a[3] = 5; a[4] = 4; a[5] = 5; a[6] = 6; a[7]…
``` 思路:这道题的意思就是选出1到n区间内两两互质最多的数,类似埃氏筛找到一个数再把它的所有倍数筛掉即可 ### 五级太水了~~~~ #include using namespace std; int main(){ long long a,n1[100000]={0},sum=0; cin>>a; for(int…