SGU[100] A+B

Description

描述

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

从输入文件中读入整数A和B并且将他们的和输出在输出文件上。

 

Input

输入

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

输入文件包含A和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数来刷的,并不是完全按照编号往下刷的。

posted @ 2015-01-29 20:08  Ivy_End  阅读(170)  评论(4编辑  收藏  举报