Wednesday, November 6, 2013

ACM HDU Problem Solution 1089-A+B for Input-Output Practice (I)

Problem 1089

A+B for Input-Output Practice (I)


Solution:

#include < stdio.h >

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

No comments:

Post a Comment