https://seve42.github.io/OItrainer/start.html
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
## P14358 [题目传送门](https://www.luogu.com.cn/problem/P14358) 本蒟蒻第一篇题解,求管理大大通过!! ### 思路 题目不难,由题意可知,奇数列就是从前往后排,偶数列就是从后往前排。先枚举列数,再特判枚举行数,一个一个往下看,发现是小R就输出,return。 ###…
在讨论《样例没过求调》回复:
@[EnochLiu2012](luogu://user/1672657)eee。。。但红名也很不容易呀,比我厉害!
在讨论《样例没过求调》回复:
诸考生,CSP即至,此非劫数,乃是修行。 接龙法旨 此龙需随缘广发,于你列表中想起何人,便发与何人,贫僧亦在其列。 功德品级 传送0人:业障深重,CSP忘写 freopen。 传送1人:修行不足,freopen 误写路径,如堕迷雾。 传送5人:得护法相助,戒除“总司令骗分”之妄念。 传送10人:…
在讨论《样例没过求调》回复:
@[EnochLiu2012](luogu://user/1672657)谢谢谢谢辛苦了
在讨论《样例没过求调》回复:
@[EnochLiu2012](luogu://user/1672657)是冒泡吗?有点像
在讨论《样例没过求调》回复:
@[EnochLiu2012](luogu://user/1672657)我就是在备战QWQ 求教
```cpp #include using namespace std; int a[8010],b[8010],c[8010]; int main() { //freopen("input.in", "r", stdin); //freopen("output.out", "w", stdout); int n,Q;…
```cpp #include #include using namespace std; int b[1000010],c[1000010]; int f1(int b[],int n,long long ans){ for(int i=n;i>=1;i--){ if(b[i]==1){ if(i!=1){ if(b…
```cpp #include #include using namespace std; queue qp; queue ti; int ans; int main(){ int n; cin>>n; for(int i=1;i >a>>p>>t; if(a==0){ qp.push(p); ti.push(t);…
在讨论《求解答》回复:
@[QQQhz508](luogu://user/1394853)多谢已关
```cpp #include using namespace std; int a,b; int main(){ int n; cin>>n; int nf=n; while(n!=0){ a++; if(b==0&&n%3==1) b=a; int x; if(n%3==0) x=n/3; else x=n/3+1…
在讨论《蛤?》回复:
此贴结
在讨论《蛤?》回复:
@[_me_](luogu://user/1134686) 多谢多谢~
为什么没有了 ```cpp dfs(f[f[a]]); ``` 就AC? ```cpp #include #include #include #include using namespace std; int f[310]; int vis[310];//领导几人 void dfs(int a){ if(a==0) r…
为什么当我这样 ```cpp #include #include using namespace std; stack s; long long n; int main(){ int x; cin>>x; s.push(x%10000); char a; while(cin>>a>>x){ if(a=='+'){ s.…
 ```cpp #include using namespace std; int n; int a[50010]; long long sum[50010]; int main(){ cin>>n; for…
```cpp #include using namespace std; int n,cnt; int a[15]; bool b[15],c[15],d[15];//a:行 b:列 c:左上到右下斜 d:右上到左下斜 void f(int x){ if(x>n){ cnt++; if(cnt >n; f(1); co…
我怎么看都没错啊QWQ ```cpp #include using namespace std; int n,m,a[100010]; int main(){ cin>>n>>m; long long l=0,r=0,mid; for(int i=1;i >a[i]; r+=a[i]; if(a[i]>l) l=a[i…
在讨论《急!必关》回复:
能解释一下吗 ```cpp for (int i=1;i >s; for(int j=1;j<=m;j++)ch[i][j]=s[j-1]; } ``` @[Billy_L](luogu://user/1362612)
在讨论《急!必关》回复:
?? ```cpp for(int i=0;i<=1003;i++){ dt[i][0]=1; dt[0][i]=1; } ``` @[caijunhan2012](luogu://user/1422399)
在讨论《题都没读懂》回复:
+1
[P11228地图探险](https://www.luogu.com.cn/problem/P11228) ```cpp #include #define QwQ "return"; using namespace std; int T,n,m,k,x,y,d,cnt=1; char P[1010][1010]; bo…
在讨论《TLE不是我的错》回复:
@[craftmine](luogu://user/991832)??~~啊?~~
在讨论《TLE不是我的错》回复:
@[_lxc__](luogu://user/1408395)就是想偷懒,而且我不会
我嘞个豆 ```cpp #include using namespace std; int a[1000010]; bool f(int a){ if(a==1||a==0) return 0; for(int i=2;i*i >n>>q; int j=1; for(int i=2;i >k; cout<<a[k]<<…
p8054 ```cpp #include using namespace std; int x[1010]; long long n[1010]; long long f(long long n){ long long cnt=0; for(long long i=2;i*i 1) cnt++; return cnt…
```cpp #include using namespace std; int x[1010]; long long n[1010]; long long f(long long n){ long long cnt=0; for(long long i=2;i*i 1) cnt++; return cnt; } in…
在讨论《p3913》回复:
@[I_LOVE_MATH](luogu://user/280823)so?
qwq ```cpp #include using namespace std; long long n,k,r,c,cnt; int a[1000000010][1000000010]; int main(){ cin>>n>>k; for(long long i=1;i >r>>c; for(long long j…
这是我的 ```cpp #include #include using namespace std; int main(){ long long a,b,p; cin>>a>>b>>p; long long c=1; if(b==0){ cout >=1//相当于b=b/2; } ``` 不理解qwq