上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 42 下一页
摘要: #include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ int i,j; bool flag = true; char data[1000]; int l = 0; while(ge 阅读全文
posted @ 2021-07-29 17:29 智人心 阅读(19) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int t,n,k,ans; scanf("%d",&t); while(t--){ scanf("%d",&n); if(n==1)printf("0\n"); 阅读全文
posted @ 2021-07-29 17:02 智人心 阅读(28) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<ctime> int main(){ int t,n,ans,base; scanf("%d",&t); while(t--){ scanf("%d",&n); base = 5; ans = 0; while 阅读全文
posted @ 2021-07-29 16:00 智人心 阅读(22) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ char a[100],b[100],f[2],tmp[100]; int m,sum; sum = 0; while(tru 阅读全文
posted @ 2021-07-29 13:58 智人心 阅读(24) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; #define ll long long int main(){ ll N,M,ans,i,q; while(scanf("%lld%lld",&N,&M)==2&&N){ ans = 阅读全文
posted @ 2021-07-29 13:27 智人心 阅读(36) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n,data[31]; while(scanf("%d",&n)==1&&n){ for(int i=1;i<=n;i++){ scanf("%d",&d 阅读全文
posted @ 2021-07-29 12:03 智人心 阅读(25) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int main(){ int n,p; int i,j; scanf("%d",&n); bool data[101]; for(i=3;i<=10 阅读全文
posted @ 2021-07-28 23:13 智人心 阅读(44) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #define ll long long using namespace std; int main(){ ll a,m,n; scanf("%lld",&a);//b = a+m,c = a+n,mn = a*a+1 for( 阅读全文
posted @ 2021-07-28 21:56 智人心 阅读(36) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; #define ll long long void gcd(ll a,ll b,ll&d,ll&x,ll&y){ if(!b){ d = a;x = 1;y = 0; } else{ g 阅读全文
posted @ 2021-07-28 21:31 智人心 阅读(33) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int ansi,ansD,rgb[16][3],trgb[3]; for(int i=0;i<16;i++){ for(int j=0;j<3;j++){ cin>>rgb[i][j]; } } 阅读全文
posted @ 2021-07-28 19:29 智人心 阅读(34) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 42 下一页