上一页 1 ··· 15 16 17 18 19
摘要: 3.代码示例 #include<iostream> using namespace std; int main(){ int a1,a2,a3,a4,s,m; for(a1=0;a1<=9;a1++){ for(a3=0;a3<=9;a3++){ if(a1!=a3){ s=a1*1000+a1*1 阅读全文
posted @ 2023-04-15 18:04 奶油冰激凌 阅读(30) 评论(0) 推荐(0)
摘要: 3.代码示例 #include<iostream> using namespace std; int main(){ int year,month,day,sum,s=0,i,q; cin>>year>>month>>day; int a[13]={0,31,28,31,30,31,30,31,31 阅读全文
posted @ 2023-04-14 23:40 奶油冰激凌 阅读(21) 评论(0) 推荐(0)
摘要: 3.代码示例 #include<iostream> using namespace std; int main(){ int a,b,c,i=0; for(a=1;a<=5;a++){ for(b=1;b<=5;b++){ if(a!=b){ for(c=1;c<=5;c++){ if(c!=a&& 阅读全文
posted @ 2023-04-13 17:30 奶油冰激凌 阅读(35) 评论(0) 推荐(0)
摘要: 2.代码 #include<iostream> using namespace std; int main(){ int egg,hen,chicken; for(hen=0;hen<=20;hen++){ for(chicken=0;chicken<=33;chicken++){ egg=100- 阅读全文
posted @ 2023-04-12 18:55 奶油冰激凌 阅读(43) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19