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

浙公网安备 33010602011771号