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;
}
原文地址:https://www.cnblogs.com/zhaojiedi1992/p/zhaojiedi_2012_07_24.html