?
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include #include #include #include #include using namespace std; const int N = 10005; int n, m, u, v, w, fa[N], Q; int lf[N][30], d[N], minu[N][30]; boo…
在文章《题解:P1056 [NOIP2008 普及组] 排座椅》发表评论:
这么短?
在文章《题解:P11378 [GESP202412 七级] 燃烧》发表评论:
第一次见main函数这么写,%%%
```cpp #include using namespace std; int n, ans, cnt[1005], maxn; struct e { int l, r; void rrr(){cin >> l >> r;} }a[105]; int main() { cin >> n; for(int i = 1…
```cpp #include using namespace std; int in() { int t = 0, f = 1;char c = getchar(); while(c '9'){if(c == '-')f = -1;c = getchar();} while(c >= '0' && c n || yy…
在讨论《红温》回复:
默哀3秒钟
在讨论《TLE求调》回复:
~~楼主发错了,这里是灌水区~~ P1029第一篇题解原文: **有一个不得不做的剪枝就是枚举当前划分所用分数时应该从last(上次划分所用分数)枚举到sum+i*(k-cur)<=n为止,因为之后划分的分数一定大于或等于当前划分所用分数。这个剪枝不做的话不仅会TLE,在TLE之间就爆栈RE了** 我也不知道是不是这里…
在讨论《45求调》回复:
@[Idealist2011](/user/1399690) 谢谢,已关
```cpp #include using namespace std; int m, d, ans; char c; int main() { cin >> m >> c >> d; if(m 12)ans++;m = 1; if(d 31)ans++; else if(m == 4 || m == 6 || m =…
```cpp #include using namespace std; int m, d, ans; char c; int main() { cin >> m >> c >> d; if(m 12)ans++;m = 1; if(d 31)ans++; else if(m==4||m==6||m==9||m==11…
在讨论《【注意第二轮缴费】CSP-J/S 2024 第一轮信息收集汇总》回复:
我就考了这个
```cpp #include using namespace std; string s[25], t; int n, m, ans = 0; int main() { cin >> n >> m; getline(cin, t); for(int i = 1 ; i <= n ; i++)getline(cin,…
在讨论《说句闲话:研究珂学的最好方法是》回复:
神贴打卡
在讨论《说句闲话:研究珂学的最好方法是》回复:
哇,真是神帖
在讨论《求助代码!》回复:
```c for(int i = 1 ; i <= n ; i++) { for(int j = i + 1 ; j <= n ; j++) { if(a[j] < a[i]) { swap(a[i], a[j]); } } } ``` oi_wiki上的 (太菜了怕说错) https://oi-wiki.org/ba…
在讨论《求助!!!》回复:
```c for(int i = 1 ; i <= n ; i++) { for(int j = i + 1 ; j <= n ; j++) { if(a[j] < a[i]) { swap(a[i], a[j]); } } } ``` oi_wiki上的 (太菜了怕说错) https://oi-wiki.org/ba…
``` #include #include using namespace std; bool flag[10000005]; int a[5000000]; int cur = 0, n, q, x; int main() { memset(flag, true, sizeof(flag)); for(int i =…
在讨论《这个做法哪里错w?》回复:
@[77Glorious](/user/956316) 这样可能有重复数字,而且j <= n没考虑道输入的不一定有序(欢迎挑错)
在讨论《关于「MYOI」Round 3 的处罚公告》回复:
qp