上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 27 下一页
摘要: code #include<iostream> using namespace std; char s[100000]; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int i,x,m,n;//x->comment state 阅读全文
posted @ 2022-02-21 11:23 ethon-wang 阅读(35) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<algorithm> #include<cstring> using namespace std; const int N=200000; char s[N]; int main(){ int l,m; char *t,*w; if( 阅读全文
posted @ 2022-02-21 08:53 ethon-wang 阅读(44) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<cstring> #include<complex> #include<cstdlib> #include<ctype.h> typedef struct SGrid{ char s[20]; int p[4]; double r; 阅读全文
posted @ 2022-02-20 14:36 ethon-wang 阅读(70) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2022.cnblogs.com/blog/1963362/202202/1963362-20220219152757026-424371476.png) 阅读全文
posted @ 2022-02-19 15:29 ethon-wang 阅读(172) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<algorithm> using namespace std; int main(){ int i,n,t,a[101]; scanf("%d",&n); for(i=n;i>=0;--i){ scanf("%d",&a[i]); } 阅读全文
posted @ 2022-02-19 12:44 ethon-wang 阅读(32) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2022.cnblogs.com/blog/1963362/202202/1963362-20220218175136650-1605525966.png) 阅读全文
posted @ 2022-02-18 17:52 ethon-wang 阅读(37) 评论(0) 推荐(0) 编辑
摘要: code #include<algorithm> #include<iostream> #include<complex> using namespace std; const int maxn=10,N=8; int place[maxn];//queens' place,from 1 bool 阅读全文
posted @ 2022-02-18 12:22 ethon-wang 阅读(23) 评论(0) 推荐(0) 编辑
摘要: code #include<algorithm> #include<iostream> #include<cstring> using namespace std; const int MIN=-0x3f3f3f3f,maxn=35; int N,M,val[maxn],dp[maxn][maxn] 阅读全文
posted @ 2022-02-17 10:22 ethon-wang 阅读(20) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<vector> #include<cstring> #include<algorithm> using namespace std; int N, P; const int maxn = 310; bool isRemoved[max 阅读全文
posted @ 2022-02-16 11:56 ethon-wang 阅读(34) 评论(0) 推荐(0) 编辑
摘要: tie是将两个stream绑定的函数,空参数的话返回当前的输出流指针。 std :: cin默认是与std :: cout绑定的,所以每次操作的时候都要调用fflush,这样增加了IO的负担,通过tie(nullptr)来解除std :: cin和std :: cout之间的绑定,进一步加快执行效率 阅读全文
posted @ 2022-02-16 11:16 ethon-wang 阅读(624) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 27 下一页