[HDU] [1089] A+B for Input-Output Practice (I)

Problem Description

Loading...

Problem Analysis

HDU beginner I/O control practice
On second thought, I’ll write these problems up separately
Shy (✿◡‿◡)
They’re not the same problem after all

cpp
1
2
3
4
5
6
7
8
#include<stdio.h>
int main() {
    int a,b;
    while(scanf("%d %d",&a,&b)!=EOF) {
        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...