摘要:
#include<iostream> #include<cmath> #include<cstdio> using namespace std; #define PI 3.1415927 int main(){ double D,V,d; while(scanf("%lf%lf",&D,&V)==2 阅读全文
posted @ 2021-07-31 16:41
智人心
阅读(63)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cmath> #include<cstdio> using namespace std; int main(){ unsigned R,M,Y; scanf("%u%u%u",&R,&M,&Y); unsigned ans = floor(po 阅读全文
posted @ 2021-07-31 16:24
智人心
阅读(31)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<algorithm> #include<cstdio> using namespace std; int main(){ int n,d[10005]; scanf("%d",&n); for(int i=0;i<n;i++) scanf("% 阅读全文
posted @ 2021-07-31 16:10
智人心
阅读(36)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ int ans,sum,c,n,data[1005]; double avg,per; scanf("%d",&c); while(c--){ scanf("%d 阅读全文
posted @ 2021-07-31 16:01
智人心
阅读(93)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ int p; char a[10]; int s=0,e=11; while(true){ scanf("%d",&p); i 阅读全文
posted @ 2021-07-31 15:43
智人心
阅读(38)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ int s,d,p,q,n; scanf("%d",&n); while(n--){ scanf("%d%d",&s,&d); if(d>s||(s-d)%2== 阅读全文
posted @ 2021-07-31 15:20
智人心
阅读(14)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ long long n,k,i,j,sum; while(scanf("%lld%lld",&n,&k)==2&&n){ if(n-k<k){ k = n-k; 阅读全文
posted @ 2021-07-31 15:11
智人心
阅读(37)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; #define PI 3.141592653589793 #include<cmath> int main(){ double x1,y1,x2,y2,x3,y3; double k1, 阅读全文
posted @ 2021-07-31 14:38
智人心
阅读(36)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; int main(){ int n,p,q,data[25]; while(scanf("%d",&n)==1){ p = q = 0; for(int i=0;i<n;i++) sca 阅读全文
posted @ 2021-07-31 11:39
智人心
阅读(68)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstdio> using namespace std; bool test(int n){ int p,s1,s2,s3; s1 = s2 = s3 = 0; p = n; while(p>0){ s1 += p%10; p /= 10; } 阅读全文
posted @ 2021-07-31 10:21
智人心
阅读(39)
评论(0)
推荐(0)

浙公网安备 33010602011771号