提交记录 11466


用户 题目 状态 得分 用时 内存 语言 代码长度
yanghaiqie 1000i. 【传统题】 A+B Problem Accepted 100 36.19 us 12 KB C++ 458 B
提交时间 评测时间
2020-01-15 22:02:02 2020-08-01 02:43:45
#include <stdio.h>

int get_int() {
	int s = 0;
	int flag = 0;
	int c = getchar();
	while ((c < '0' || c > '9') && c != '-') {
		c = getchar();
	}
	if (c == '-') {
		flag = 1;
		c = getchar();
	}
	while (c >= '0' && c <= '9') {
		s = s * 10 + c - '0';
		c = getchar();
	}
	return flag ? -s : s;
}

int main() {
	int n = get_int();
	for (int i = 1; i <= n; i++) {
		int shu1 = get_int();
		int shu2 = get_int();
		printf("%d\n", shu1 + shu2);
	}
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #136.19 us12 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-27 17:57:09 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠