HDUOJ1000 A+B Problem
A+B Problem
Time Limit: 1000MS | Memory Limit: 10000K | |
Total Submissions: 260754 | Accepted: 141561 |
Description
Calculate a+b
Input
Two integer a,b (0<=a,b<=10)
Output
Output a+b
Sample Input
1 2
Sample Output
3
View Code
#include<stdio.h> int main() { int a,b; scanf("%d %d",&a,&b); printf("%d\n",a+b); return 0; }
posted on 2012-07-27 22:26 LinuxPanda 阅读(211) 评论(0) 编辑 收藏 举报