提交记录 16030


用户 题目 状态 得分 用时 内存 语言 代码长度
panyf 1000i. 【传统题】 A+B Problem Wrong Answer 0 47.48 us 44 KB C++11 524 B
提交时间 评测时间
2021-03-19 16:25:43 2021-03-19 16:25:46
#include<bits/stdc++.h>
using namespace std;
char _[999999],*U,*V;
#define I (U==V?(V=(U=_)+fread(_,1,999991,stdin),*U++):*U++)
void in(int&x){bool f=0;char c=I;for(x=0;c<48||c>57;c=I)if(c==45)f=1;for(;c>47&&c<58;c=I)x=x*10+c-48;if(f)x=-x;}
char O_[999999],*OU=O_,*OV=OU+999991,OS[21],*OT=OS;
#define F fwrite(O_,1,OU-O_,stdout)
#define O(x) (*(OU=(OU==OV?(F,O_):OU))++=(x))
void out(int x){for(;*OT++=x%10+48,x/=10;);for(;OT!=OS;O(*--OT));O(10);}
int main(){
	int n,a,b;
	for(in(n);n--;)in(a),in(b),out(a+b);
	return F,0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #147.48 us44 KBWrong AnswerScore: 0


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