上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 42 下一页
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int main(){ char a[15]; scanf("%s",a); int i,sum,pos; sum = 0; for(i=0;i<10 阅读全文
posted @ 2021-07-31 10:07 智人心 阅读(22) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ char k[27],data[85],ans[85]; gets(k); gets(data); for(int i=0;i 阅读全文
posted @ 2021-07-30 22:31 智人心 阅读(19) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; bool wr(double sp,double w,double s){ if(sp<=4.5&&w>=150&&s>=200)return true; else return fal 阅读全文
posted @ 2021-07-30 22:03 智人心 阅读(19) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n,x,y; scanf("%d",&n); while(n--){ scanf("%d%d",&x,&y); if(x>=y)printf("MMM B 阅读全文
posted @ 2021-07-30 21:20 智人心 阅读(21) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n,sum,s[15],t[15]; while(scanf("%d",&n)&&n!=-1){ for(int i=1;i<=n;i++){ scanf 阅读全文
posted @ 2021-07-30 21:15 智人心 阅读(17) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ char data[20][30]; int n,kase = 1; while(scanf("%d",&n)&&n){ for(int i=1;i<=n;i++ 阅读全文
posted @ 2021-07-30 21:04 智人心 阅读(37) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n,sum,i,j,t; while(scanf("%d",&n)&&n){ i=1; while(i*(i+1)/2<n)i++; i--; sum = 阅读全文
posted @ 2021-07-30 20:51 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n; while(scanf("%d",&n)==1){ int k = 1; while(k*(k+1)/2<n)k++; k--; int t = n 阅读全文
posted @ 2021-07-30 20:22 智人心 阅读(48) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; char s[100005],t[100005]; int main(){ while(scanf("%s%s",s,t)==2){ int i,j, 阅读全文
posted @ 2021-07-30 19:49 智人心 阅读(34) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n,x,y; while(scanf("%d",&n)&&n){ int a = ~(unsigned)0>>1; while(n--){ scanf(" 阅读全文
posted @ 2021-07-30 16:43 智人心 阅读(26) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 42 下一页