NUAA 1001 整数求和

整数求和

Time Limit(Common/Java):1000MS/3000MS          Memory Limit:33600KByte
Total Submit:4194            Accepted:2512

Description

给定两个整数,求它们之和。

Input

两个整数A,B.

Output

两个整数的和。

Sample Input

1 2

Sample Output

3

Source

NUAA

Code

#include <stdio.h>

int main(void)
{
    int a, b;

    scanf("%d %d", &a, &b);
    printf("%d\n", a + b);

    return 0;
}


posted on 2010-08-06 18:24  zuchen  阅读(138)  评论(0)    收藏  举报

导航