Time Limit: 2000/1000 MS (java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 639542 Accepted Submission(s): 199680
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
Sample Output
2
本题输入两个数,然后进行相加并输出。
#include<stdio.h>int main(){ int n,m; while(scanf("%d%d",&m,&n)!=EOF) printf("%d/n",m+n); return 0;}新闻热点
疑难解答
图片精选