摘要:
#include<iostream> #include<cmath> using namespace std; int main(){ int s,t,r,n,k,tmp,tmp2; scanf("%d%d",&n,&k); while(k--){ scanf("%d%d%d",&s,&t,&r); 阅读全文
posted @ 2021-11-29 20:01
智人心
阅读(23)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> using namespace std; int main(){ int n,s; char data[20][20]; scanf("%d%d",&n,&s); memset(data,' ',sizeof data); f 阅读全文
posted @ 2021-11-29 19:35
智人心
阅读(20)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cmath> using namespace std; int main(){ int b,n,result,i,minj,minx,tmp; while(scanf("%d%d",&b,&n)==2&&b){ minx = 1000005; 阅读全文
posted @ 2021-11-29 19:25
智人心
阅读(68)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ char a[100]; while(gets(a)){ printf("%s\n",a); } return 0; } 阅读全文
posted @ 2021-11-29 19:05
智人心
阅读(26)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cmath> using namespace std; #define PI 3.14159265 int main(){ double D,d,s; int n,result; scanf("%d",&n); while(n--){ scan 阅读全文
posted @ 2021-11-29 18:59
智人心
阅读(25)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ long long n,m,result; int i,cnt,cnt_sum; scanf("%d",&cnt_sum); for(int cnt=1;cnt<=cnt_sum;cnt++){ 阅读全文
posted @ 2021-11-29 18:30
智人心
阅读(20)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> using namespace std; int main(){ int n,cnt,result; char a[100],b[100]; int dataA[26],dataB[26]; scanf("%d\n",&n); 阅读全文
posted @ 2021-11-29 18:22
智人心
阅读(25)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ int l,m,result,start,end; while(scanf("%d%d",&l,&m)==2&&l){ result = l+1; while(m--){ scanf("%d%d" 阅读全文
posted @ 2021-11-29 18:08
智人心
阅读(28)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cmath> using namespace std; int main(){ long long n,a,b,c,n1,result; scanf("%lld",&n); while(n--){ scanf("%lld%lld",&a,&b) 阅读全文
posted @ 2021-11-29 17:07
智人心
阅读(30)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ double a,b,c,f0,f1,f2,f3,f4,f5; while(scanf("%lf%lf%lf",&f0,&f1,&f2)==3){ c = f0; a = (f2-2*f1+f0) 阅读全文
posted @ 2021-11-29 16:21
智人心
阅读(19)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ int a[3],h = 168; bool flag = false; for(int i=0;i<3;i++) scanf("%d",&a[i]); for(int i=0;i<3;i++){ 阅读全文
posted @ 2021-11-29 16:10
智人心
阅读(28)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ int n,m,p,c; while(scanf("%d%d%d%d",&n,&m,&p,&c)==4&&n){ printf("%d\n",n+c-(m+c-p)); } return 0; } 阅读全文
posted @ 2021-11-29 16:04
智人心
阅读(26)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> using namespace std; int main(){ int n,len,sum,dis[] = {9,3,7},p,q,val; char data[10]; scanf("%d",&n); for(int cn 阅读全文
posted @ 2021-11-29 15:57
智人心
阅读(16)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cmath> using namespace std; #define PI 3.14159265 int main(){ double V,d,D; while(scanf("%lf%lf",&D,&V)==2&&D){ d = pow(D* 阅读全文
posted @ 2021-11-29 14:37
智人心
阅读(17)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<climits> using namespace std; int main(){ int n,m,c,i,j,result; while(scanf("%d%d%d",&n,&m,&c)==3&&n){ i = n; result = 0; 阅读全文
posted @ 2021-11-29 13:37
智人心
阅读(19)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cmath> using namespace std; int main(){ int r,m,y; scanf("%d%d%d",&r,&m,&y); double a = pow((100.0+r)/100,y)*m; printf("%. 阅读全文
posted @ 2021-11-29 13:25
智人心
阅读(19)
评论(0)
推荐(0)

浙公网安备 33010602011771号