提交记录 17672


用户 题目 状态 得分 用时 内存 语言 代码长度
z3475 1000i. 【传统题】 A+B Problem Accepted 100 77.21 us 68 KB C++ 677 B
提交时间 评测时间
2022-04-26 09:49:24 2022-04-26 09:49:27
#include <bits/stdc++.h>
using namespace std;
constexpr unsigned long long operator "" _kb(unsigned long long i){return i*1024;}
constexpr unsigned long long operator "" _mb(unsigned long long i){return i*1024_kb;}
char pool[200_kb];
size_t pooli=0;
template<class T>
T* alloc(size_t i=1){
	auto pi=pooli;
	pooli+=i*sizeof(T);
	return (T*)(void*)&pool[pi];
}
template<class T,class ...Args>
T* mnew(Args&&... args){
	return ::new((void*)(alloc<T>()))T(std::forward<Args>(args)...);
}
int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
//	if ((uintptr_t)(&pool[0])%4!=0) alloc<char>();
	int T;
	cin>>T;
	while (T--){
		int a,b;
		cin>>a>>b;
		cout<<(a+b)<<endl;
	}
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #177.21 us68 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2024-04-24 03:31:00 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用