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

浙公网安备 33010602011771号