摘要:
#include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ char k[27],data[85],ans[85]; gets(k); gets(data); for(int i=0;i 阅读全文
posted @ 2021-07-30 22:31
智人心
阅读(21)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; bool wr(double sp,double w,double s){ if(sp<=4.5&&w>=150&&s>=200)return true; else return fal 阅读全文
posted @ 2021-07-30 22:03
智人心
阅读(26)
评论(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("MMM B 阅读全文
posted @ 2021-07-30 21:20
智人心
阅读(23)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ int n,sum,s[15],t[15]; while(scanf("%d",&n)&&n!=-1){ for(int i=1;i<=n;i++){ scanf 阅读全文
posted @ 2021-07-30 21:15
智人心
阅读(22)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ char data[20][30]; int n,kase = 1; while(scanf("%d",&n)&&n){ for(int i=1;i<=n;i++ 阅读全文
posted @ 2021-07-30 21:04
智人心
阅读(38)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ int n,sum,i,j,t; while(scanf("%d",&n)&&n){ i=1; while(i*(i+1)/2<n)i++; i--; sum = 阅读全文
posted @ 2021-07-30 20:51
智人心
阅读(33)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ int n; while(scanf("%d",&n)==1){ int k = 1; while(k*(k+1)/2<n)k++; k--; int t = n 阅读全文
posted @ 2021-07-30 20:22
智人心
阅读(50)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> #include<cstring> using namespace std; char s[100005],t[100005]; int main(){ while(scanf("%s%s",s,t)==2){ int i,j, 阅读全文
posted @ 2021-07-30 19:49
智人心
阅读(38)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ int n,x,y; while(scanf("%d",&n)&&n){ int a = ~(unsigned)0>>1; while(n--){ scanf(" 阅读全文
posted @ 2021-07-30 16:43
智人心
阅读(28)
评论(0)
推荐(0)
摘要:
#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
智人心
阅读(28)
评论(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
智人心
阅读(30)
评论(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
智人心
阅读(46)
评论(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
智人心
阅读(35)
评论(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
智人心
阅读(34)
评论(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
智人心
阅读(31)
评论(0)
推荐(0)

浙公网安备 33010602011771号