[HDU] [1090] A+B for Input-Output Practice (II)

Problem Description

Loading...

Problem Analysis

By the way, once I get these few uploaded, does that mean there won’t be many posts going up today either…

cpp
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#include<stdio.h>
int main() {
    int i,j,a,b;
    scanf("%d",&j);
    for(i=0; i<j; i++) {
        scanf("%d %d",&a,&b);
        printf("%d\n",a+b);
    }
    return 0;
}
This post is licensed under CC BY-NC-SA 4.0. If it helped, or if you have anything to say, the comment box below is open.
Page views —
Unique visitors —

Loading...