提交记录 6905


用户 题目 状态 得分 用时 内存 语言 代码长度
poilog 1000i. 【传统题】 A+B Problem Accepted 100 57.63 us 40 KB C++ 363 B
提交时间 评测时间
2018-11-15 20:30:58 2020-08-01 00:53:38
#include <bits/stdc++.h>

#define P 3000

char R[P + 5], *S = R;

inline int read ()
{
	int p = 0, w = 1; char c = *S ++;
	while(!isdigit(c)) {if(c == '-') w = -1; c = *S ++;}
	while(isdigit(c)) {p = p * 10 + c - '0'; c = *S ++;}
	return p * w;
}

int main()
{
	fread(R, 1, P, stdin);
	int n; n = read();
	while(n --) printf("%d\n",read() + read());
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #157.63 us40 KBAcceptedScore: 100


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