topic:
. 1 . 7 - . 5 A + B Problem ( 10 min) 2 . 3 the Calculate A + B. . 4 Input format: . 5 Each Line Will Contain A and B. TWO integers . 6 output format: . 7 the For each Case , A + B Output in One Line . 8 input sample: 9 here is given a set of inputs. For example: 10 18 is - 299 . 11 sample output: 12 herein gives the corresponding output. For example: 13 is - 281 is 14 15 16 ------------------------------------------ ----------------------------------------
题目大意:计算A+B并且输出
解题思路:按题目要求编写代码,难度系数0
正确代码:
1 #include<iostream> 2 using namespace std; 3 int main(){ 4 int a,b; 5 cin>>a>>b; 6 cout<<a+b<<endl; 7 return 0; 8 }