提交记录 17889


用户 题目 状态 得分 用时 内存 语言 代码长度
zyc211428 1000i. 【传统题】 A+B Problem Accepted 100 60.9 us 64 KB C++ 402 B
提交时间 评测时间
2022-07-27 22:41:27 2022-07-27 22:41:29
#include<bits/stdc++.h>
using namespace std;
int n,a,b;
inline int read(){
	char c=getchar();
	int x=0;
	bool s=0;
	while(c<'0'||c>'9'){ 
	    if(c=='-')s=1;
	    c=getchar();
	}
	while(c>=48&&c<=57)
		x=x*10+c-48,c=getchar();
	return s?-x:x;
}
int main(){
	ios::sync_with_stdio(0);
	n=read();
	while(n--){
            a=read();
            b=read();
            cout<<a+b<<'\n';
        }
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #160.9 us64 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-16 20:14:10 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠