BZOJ1000

Description

Calculate a+b

Input

Two integer a,b (0<=a,b<=10)

Output

Output a+b

Sample Input

1 2

Sample Output

3
------------------------------------------------------->_<-------------------------------------------------------------------
A+B
 1 #include<iostream>
 2 #include<stdlib.h>
 3 #include<stdio.h>
 4 #include<math.h>
 5 #include<algorithm>
 6 using namespace std;
 7 int a,b;
 8 void init()
 9 {
10     scanf("%d%d",&a,&b);
11     cout<<a+b<<endl; 
12 } 
13 int main()
14 {
15     init();
16     return 0;
17 }

 

posted on 2015-06-14 14:23  diamonddd  阅读(75)  评论(0编辑  收藏  举报

导航