上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 42 下一页
摘要: #include<iostream> #include<cmath> using namespace std; #define PI 3.14159265 int main(){ double t,R,r,s; int n,cnt; scanf("%d",&n); for(cnt=1;cnt<=n; 阅读全文
posted @ 2021-11-15 17:01 智人心 阅读(29) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ int i,j,len; char data[1005]; while(gets(data)){ len = strlen(data); for(i=0;i<l 阅读全文
posted @ 2021-11-15 13:46 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> #include<cstring> using namespace std; int data[100],cnt,customer,total,now[5],end_item[5]; int now_type,end_ty 阅读全文
posted @ 2021-11-14 19:51 智人心 阅读(60) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int n,a,b; scanf("%d",&n); while(n--){ scanf("%d%d",&a,&b); if(a==b){ if(a%2==0){ printf("%d\n",a* 阅读全文
posted @ 2021-11-14 18:00 智人心 阅读(29) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int cnt,i,data[105]; double ans[105]; cnt = 0; while(scanf("%d",&data[cnt])==1){ ans[cnt] = 0; for 阅读全文
posted @ 2021-11-14 17:50 智人心 阅读(29) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int i,j,data[105],cnt = 0,t,ans[105]; while(scanf("%d",&data[cnt])==1&&data[cnt]!=0){ t = 0; for(i 阅读全文
posted @ 2021-11-14 17:39 智人心 阅读(33) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> #include<cstring> using namespace std; int main(){ int sum,mile; char a[2][20],icon[2]; while(true){ sum = 0; while 阅读全文
posted @ 2021-11-14 17:25 智人心 阅读(31) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int n,ip[4],i,j,base; char a[35]; scanf("%d",&n); while(n--){ scanf("%s",a); for(j=0;j<4;j++){ ip[ 阅读全文
posted @ 2021-11-13 21:12 智人心 阅读(35) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> using namespace std; int main(){ long long n,data[20005],sum,tmp,t; scanf("%lld",&n); int i,j; for(i=0;i<n;i++) 阅读全文
posted @ 2021-11-13 18:03 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cctype> using namespace std; int main(){ char a[80]; int data[30]; int out[400][60]; int i,j,l_max; mems 阅读全文
posted @ 2021-11-13 16:41 智人心 阅读(26) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 42 下一页