提交记录 17870
| 提交时间 |
评测时间 |
| 2022-07-27 22:33:55 |
2022-07-27 22:33:58 |
#include<bits/stdc++.h>
using namespace std;
int n,a,b;
inline int read(){
char c=getchar();
int x;
if(c=='-'){
c=getchar();
x=48-c;
}else x=c-48;
c=getchar();
while(c>=48&&c<=57){
x=x*10+c-48;
c=getchar();
}
return x;
}
inline void write(int x){
if(x<0){
cout<<'-';
write(-x);
return;
}
if(x/10) write(x/10);
cout<<x%10;
}
int main(){
n=read();
while(n--){
a=read();
b=read();
write(a+b);
cout<<'\n';
}
return 0;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 107.61 us | 36 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-16 20:37:27 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠