上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 42 下一页
摘要: #include<iostream> using namespace std; int main(){ int c,n,i,j,t; int data[1005]; double sum; scanf("%d",&c); while(c--){ scanf("%d",&n); sum = 0; fo 阅读全文
posted @ 2021-11-18 19:06 智人心 阅读(29) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cmath> using namespace std; int main(){ char a[][10] = {"too low","right on","too high"}; int i,low[12], 阅读全文
posted @ 2021-11-18 18:57 智人心 阅读(49) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int a,b,n,c,d; scanf("%d",&n); while(n--){ scanf("%d%d",&a,&b); if((a+b)%2==1||a<b){ printf("impos 阅读全文
posted @ 2021-11-18 18:25 智人心 阅读(30) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ long long n,k,i,j,ans; while(scanf("%lld%lld",&n,&k)==2&&n){ if(n-k<k){ k = n-k; } ans = 1; for(i= 阅读全文
posted @ 2021-11-18 18:17 智人心 阅读(28) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> #define PI 3.141592653589793 using namespace std; int main(){ double x[3],y[3]; double k[2][2],b[2][2],x0,y0,r; whi 阅读全文
posted @ 2021-11-18 16:48 智人心 阅读(52) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; bool spec(int n){ int i,j,s[3],tmp; bool flag = false; tmp = n; s[0] = 0; while(tmp>0){ s[0] += tmp%10; tmp /= 阅读全文
posted @ 2021-11-18 15:21 智人心 阅读(25) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ char a[15]; scanf("%s",a); int i,t = -1,len = strlen(a),sum = 0; for(i=0;i<len;i 阅读全文
posted @ 2021-11-18 15:11 智人心 阅读(30) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ char a[30],data[100]; scanf("%s",a); getchar(); gets(data); int i,len = strlen(d 阅读全文
posted @ 2021-11-18 15:00 智人心 阅读(31) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ char a[][15] = {"Wide Receiver","Lineman","Quarterback"}; float speed[] = {4.5,6.0,5.0}; int weigh 阅读全文
posted @ 2021-11-18 11:10 智人心 阅读(29) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int a,b,n; scanf("%d",&n); while(n--){ scanf("%d%d",&a,&b); if(a<b)printf("NO BRAINS\n"); else pri 阅读全文
posted @ 2021-11-18 10:56 智人心 阅读(26) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 42 下一页