hud 1000 A + B Problem 题解

由题意得:

1.“Input”中的“integers”表明该题用整型“int”

2.“Input”中的“Each line”和“Output”中的“For each case”表明该题有多次输入、输出,并且输出要换行

3.(题并不难,就是要细心)代码如下:

#include<stdio.h>
int main()
{
    int a,b;
    while(~scanf("%d%d",&a,&b))
    printf("%d\n",a+b);
    return 0;
}

相关文章:

  • 2021-09-09
  • 2021-11-06
  • 2021-09-14
  • 2021-09-14
  • 2021-07-26
  • 2021-10-22
  • 2022-01-12
猜你喜欢
  • 2021-06-02
  • 2021-07-22
  • 2021-05-23
  • 2021-06-05
  • 2019-01-25
  • 2021-09-26
相关资源
相似解决方案