[BZOJ1000] A+B Problem
Description
Calculate a+b
Input
Two integer a,b (0<=a,b<=10)
Output
Output a+b
Sample Input
1 2
Sample Output
3
HINT
C++
1 #include <iostream> 2 using namespace std; 3 int main() 4 { 5 int a, b; 6 cin >> a >> b; 7 cout << a + b << endl; 8 return 0; 9 }
Pascal
1 var 2 a, b:Integer; 3 begin 4 Readln(a, b); 5 Writeln(a + b); 6 end.
祝Pascal同学早日转C++