【ZhengQing】[1415]A+B Again!

Problem Description

Loading...

Problem Analysis

So this problem…
Uh… okay then~
It trains control over the input format

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;
}

Problem link: [ZZULI] [1415] A+B Again!

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...