摘要: #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)