摘要: #include<iostream> #include<cmath> #include<cstdio> using namespace std; int main(){ int n,a,b,c,d; char start[25][3],end[25][3]; scanf("%d",&n); for( 阅读全文
posted @ 2021-07-29 21:51 智人心 阅读(25) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int data[100]; double ans[100]; int i=0; while(scanf("%d",&data[i])==1){ ans[i] = 阅读全文
posted @ 2021-07-29 21:08 智人心 阅读(33) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n,maxv,maxi,minv,mini,a,b,c,v; char data[10][10]; while(scanf("%d",&n)==1&&n! 阅读全文
posted @ 2021-07-29 20:03 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> /* PERFECTION OUTPUT 15 DEFICIENT 28 PERFECT 6 PERFECT 56 ABUNDANT 60000 ABUNDANT 22 DEFICIENT 496 PERFECT END OF 阅读全文
posted @ 2021-07-29 19:50 智人心 阅读(39) 评论(0) 推荐(0)
摘要: #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 智人心 阅读(21) 评论(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 智人心 阅读(26) 评论(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 智人心 阅读(31) 评论(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 智人心 阅读(37) 评论(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 智人心 阅读(32) 评论(0) 推荐(0)