提交记录 2855
| 提交时间 |
评测时间 |
| 2018-06-30 11:28:41 |
2020-07-31 21:07:43 |
#pragma GCC optimize("Ofast")
#include<cstdio>
#include<vector>
template<class T>T rd(){
register T x=0;
bool f=0;
char c=getchar();
while(c<45)c=getchar();
if(c=='-')f=1,c=getchar();
for(;c>47;c=getchar())x=x*10+(c&15);
return f?-x:x;
}
template<class T>void print(register T x){
static char st[16],tp;
if(!x){putchar('0');return;}
if(x<0)putchar('-'),x=-x;
for(tp=0;x;st[tp++]=x%10+48,x/=10);
for(tp--;~tp;putchar(st[tp--]));
}
std::vector<int>v;
main(){
int n=100;
while(n--){
v.emplace_back(rd<int>()),v.emplace_back(rd<int>());
print(v.end()[-1]+v.end()[-2]);putchar('\n');
}
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 31.98 us | 28 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-23 16:57:37 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠