摘要:
#include<iostream> using namespace std; int main(){ int t,k,i; long long n; char a[100],out[100]; scanf("%d",&t); while(t--){ scanf("%d%s%lld",&k,a,&n 阅读全文
posted @ 2021-11-18 20:35
智人心
阅读(41)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> using namespace std; int main(){ long long n; char s[100],out[100]; int t,i,j,k,len; scanf("%d",&t); while(t--){ 阅读全文
posted @ 2021-11-18 20:23
智人心
阅读(47)
评论(0)
推荐(0)
摘要:
#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
智人心
阅读(31)
评论(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)
摘要:
#include<iostream> using namespace std; int main(){ int i,sum,n,data[15][2]; while(scanf("%d",&n)==1&&n!=-1){ sum = 0; scanf("%d%d",&data[0][0],&data[ 阅读全文
posted @ 2021-11-18 10:51
智人心
阅读(28)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ char a[20][30]; int i,j,n,cnt; cnt = 0; while(scanf("%d",&n)==1&&n){ for(i=0;i<n;i++){ scanf("%s", 阅读全文
posted @ 2021-11-18 10:44
智人心
阅读(38)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ int i,j,k,s,n; while(scanf("%d",&n)==1&&n){ s = 0; k = 0; for(i=1;;i++){ for(j=1;j<=i;j++){ s += i 阅读全文
posted @ 2021-11-18 10:35
智人心
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号