SGU100

时间:2014-03-05 16:44:34   收藏:0   阅读:506

Read integers A and B from input file and write their sum in output file.

Input

Input file contains A and B (0<A,B<10001).

Output

Write answer in output file.

Sample Input

5 3

Sample Output

8

哈哈,用这道超级大水题作为博客第一篇。
bubuko.com,布布扣
 1 #include <iostream>
 2 #include <cstdio>
 3 using namespace std;
 4 
 5 int main()
 6 {
 7     int a,b;
 8     scanf("%d%d",&a,&b);
 9     printf("%d\n",a + b);
10     return 0;
11 }
bubuko.com,布布扣

 


SGU100,布布扣,bubuko.com

原文:http://www.cnblogs.com/hyxsolitude/p/3581259.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!