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
哈哈,用这道超级大水题作为博客第一篇。
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 ",a + b); 10 return 0; 11 }