Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in one line. Sample Input 1 1
扫描二维码关注公众号,回复:
2329493 查看本文章
Sample Output 2 Author HDOJ |
描述:这个是HDU最难的题目了,没有之一,为什么这么说呢,我找了一些找不到比这个题目提交次数多的题目了。高达77W
代码:
#include<stdio.h> int main() { int a,b; while(~scanf("%d %d",&a,&b)) printf("%d\n",a+b); return 0; } |