Calculate a+b
标签:
Calculate a+b
Two integer a,b (0<=a,b<=10)
Output 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 }
标签:
原文地址:http://www.cnblogs.com/diamonddd/p/4575030.html