上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 42 下一页
摘要: #include<iostream> /* 23,28,33 28*33=924 23*33=759 23*28=644 924*a%23=1,a=6,924*a=5544 759*a%28=1,a=19,759*a=14421 644*a%33=1,a=2,644*2=1288 */ using 阅读全文
posted @ 2021-11-06 17:12 智人心 阅读(56) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> #define PI 3.14159265 using namespace std; int main(){ int n; double s,x,y,r; int count = 0; scanf("%d",&n); while( 阅读全文
posted @ 2021-11-05 10:06 智人心 阅读(36) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ double s,m; for(int i=0;i<12;i++){ scanf("%lf",&m); s += m; } printf("$%.2lf",s/12); return 0; } 阅读全文
posted @ 2021-11-05 09:51 智人心 阅读(30) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ double s,n; int i; while(scanf("%lf",&n)==1&&n!=0.00){ s = 0; i = 1; while(s<n){ s+= 1.0/(i+1); i+ 阅读全文
posted @ 2021-11-05 09:44 智人心 阅读(23) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<algorithm> #include<cctype> using namespace std; int data[100005]; int main(){ memset(data,0,sizeof(data 阅读全文
posted @ 2021-11-04 21:36 智人心 阅读(78) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d\n",a+b); return 0; } 阅读全文
posted @ 2021-11-04 19:54 智人心 阅读(39) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> #include<cstring> using namespace std; int a[200],na,xiaoshu; void multiply(int b){ int i; for(i=0;i<na;i++){ a[i] 阅读全文
posted @ 2021-11-04 19:53 智人心 阅读(47) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; char a[6][6]; int main(){ int i,j,p,q; for(i=0;i<5;i++){ scanf("%s",a[i]); a[i][5] = '\0'; } 阅读全文
posted @ 2021-11-04 09:54 智人心 阅读(43) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ char s[100]; scanf("%s",s); int i,j,k,l,len = strlen(s); for(i=1;i<len;i++){ boo 阅读全文
posted @ 2021-11-04 09:25 智人心 阅读(35) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cmath> using namespace std; int c[10005][10],data[10],tmp_data[10]; int main(){ memset(c,0,sizeof(c)); f 阅读全文
posted @ 2021-11-03 19:02 智人心 阅读(33) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 42 下一页