提交记录 6170


用户 题目 状态 得分 用时 内存 语言 代码长度
attack 1000i. 【传统题】 A+B Problem Accepted 100 36.51 us 12 KB C++ 438 B
提交时间 评测时间
2018-09-30 20:43:59 2020-08-01 00:40:04
#include<cstdio>
using namespace std;
inline int read() {
	char c = getchar(); int x = 0, f = 1;
	while(c < '0' || c > '9') {if(c == '-')f =- 1; c = getchar();}
	while(c >= '0' && c <= '9') x = x * 10 + c - '0', c = getchar();
	return x * f;
}
int main() {
	int tot = 0;
	for(int i = 1; i <= 5000000; i++) tot++;
	int t = read();
	while(t--) {
		int a = read(), b = read();
		a += tot; b += tot;
		printf("%d\n", a + b - 2 * tot);		
	}
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #136.51 us12 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2024-11-23 23:10:15 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠