[100. A+B]
Description
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
Analysis
水题。
Solution
#include <iostream>
using namespace std;
int main()
{
int a, b;
cin >> a >> b;
cout << a + b << endl;
return 0;
}
到了大学,开始接触 ACM。高中里参加了 3 年 NOIP,拿了两年的二等奖,现在终于接触到了 ACM,找到了 SGU 这个 OJ 开始刷题。
一方面,这上面的题目都有些难度,另一方面,由于是英文的,可以在一定程度上提高我的英语水平。
我是按照 SGU 上题目的 AC 数来刷的,并不是完全按照编号往下刷的。