自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 砝码称重

#include#includeint main(){ int a,b,c,d,n;scanf("%d",&n);while(scanf("%d %d %d %d",&a,&b,&c,&d)!=EOF)printf("%d\n",abs(a*b-c*d));return 0;}

2017-05-30 16:52:25 180

原创 A+B Problem (64bit Integer + EOF)

#includeint main(){__int64 a,b; while(scanf("%I64d %I64d",&a, &b)!=EOF){printf("%I64d\n",a+b);}return 0;}

2017-05-30 16:51:22 231

原创 A+B Problem (0)

#includeint main(){int a,b;while(scanf("%d %d",&a,&b),a!=0||b!=0)printf("%d",a+b);return 0;}

2017-05-30 16:50:14 147

原创 A+B Problem (Case Count)

#includeint main(){int n,a,b;scanf("%d\n",&n);while(scanf("%d %d",&a,&b)!=EOF)printf("%d",a+b);return 0; }

2017-05-30 16:48:24 167

原创 a+bproblem(0+EOF)

#includeint main(){int a,b;while(scanf("%d %d",&a,&b),a!=0||b!=0){printf("%d",a+b);}return 0; }

2017-05-30 16:45:33 224

原创 百钱百鸡

#include int main(){    int cock, hen,chicken;    for( cock=0; cock         for( hen=0; hen             for( chicken=0; chicken             {                if( 5*cock+3*hen+chicken/3=

2017-05-26 22:12:39 168

原创 a+b problem(EOF)

#include int main(){ int a, b;    while (scanf("%d %d", &a, &b) != EOF)        printf("%d\n", a + b);    return 0;}

2017-05-26 17:59:40 200

原创 a+b problem

#includeint main(){int a,b;scanf("%d",&a,&b);printf("%d",a+b);return 0; }

2017-05-26 17:34:02 137

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除