上一页 1 ··· 17 18 19 20 21
摘要: #include <iostream> using namespace std;int main(){ int i = 0; int j = 0; int k = 0; int temp = 0; for (i = 0; i <= 9; i++) { for (j = 0; j <= 9; j++) 阅读全文
posted @ 2023-04-21 22:30 几条小鱼 阅读(18) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ int month[13]={0,31,28,31,30,31,30,31,31,30,31,30,31},a,b,c,d=0,e,i; cin>>a>>b>>c; cout<<a<<"年"<<b<< 阅读全文
posted @ 2023-04-20 22:13 几条小鱼 阅读(12) 评论(0) 推荐(0)
摘要: #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++){ for(c=1;c<=5;c++){ if(a!=b&&b!=c&&c!=a) i++; c 阅读全文
posted @ 2023-04-19 21:37 几条小鱼 阅读(21) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std;int main(){ int cock,hen,chicken; for(cock=0;cock<=20;cock++){ for(hen=0;hen<=100-5*cock;hen++){ chicken=(100-5 阅读全文
posted @ 2023-04-18 22:37 几条小鱼 阅读(17) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21