天天看點

POJ 1000 A+B Problem

A+B Problem

Time Limit: 1000MS Memory Limit: 10000K
Total Submissions: 382869 Accepted: 214081

Description

Calculate a+b

Input

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

Output

Output a+b

Sample Input

1 2      

Sample Output

3      
#include <stdio.h>

int main()
{
    int a,b;
    scanf("%d %d",&a, &b);
    printf("%d\n",a+b);
    return 0;
}