上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 42 下一页
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int s; scanf("%d",&s); int n = 1; while(n*(n+1)/2<s){ n++; } while((n*(n+1)/2-s)% 阅读全文
posted @ 2021-07-30 14:58 智人心 阅读(20) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cmath> using namespace std; #define PI 3.1415927 int main(){ int t,n; double R,tmp; scanf("%d",&t); for(i 阅读全文
posted @ 2021-07-30 14:45 智人心 阅读(28) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cmath> #define PI 3.1415927 using namespace std; double a,b,c,tmp = acos(-1.0/2)*180/PI,x[4],y[4]; bool y 阅读全文
posted @ 2021-07-30 14:23 智人心 阅读(45) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; #define PI 3.1415927 int main(){ double d,r,t,ansl,ansspd; int kase = 1; while(scanf("%lf%lf% 阅读全文
posted @ 2021-07-30 00:50 智人心 阅读(34) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int f(int m,int n){ if(m==0||n==1)return 1; if(m<n){ return f(m,m); } return f(m,n-1)+f(m-n,n 阅读全文
posted @ 2021-07-30 00:24 智人心 阅读(28) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n,x,y; scanf("%d",&n); while(n--){ scanf("%d%d",&x,&y); if(x==y){ printf("%d\ 阅读全文
posted @ 2021-07-30 00:23 智人心 阅读(24) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> #include<cstdio> using namespace std; int main(){ int n,a,b,c,d; char start[25][3],end[25][3]; scanf("%d",&n); for( 阅读全文
posted @ 2021-07-29 21:51 智人心 阅读(24) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int data[100]; double ans[100]; int i=0; while(scanf("%d",&data[i])==1){ ans[i] = 阅读全文
posted @ 2021-07-29 21:08 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> using namespace std; int main(){ int n,maxv,maxi,minv,mini,a,b,c,v; char data[10][10]; while(scanf("%d",&n)==1&&n! 阅读全文
posted @ 2021-07-29 20:03 智人心 阅读(26) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> /* PERFECTION OUTPUT 15 DEFICIENT 28 PERFECT 6 PERFECT 56 ABUNDANT 60000 ABUNDANT 22 DEFICIENT 496 PERFECT END OF 阅读全文
posted @ 2021-07-29 19:50 智人心 阅读(33) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 42 下一页