提交记录 2831
提交时间 |
评测时间 |
2018-06-30 10:59:10 |
2020-07-31 21:07:26 |
#include <cstdio>
using namespace std;
int read(){
char c=getchar();
int x=0,sgn=1;
while(c<'0' || c>'9'){
if (c=='-')
sgn=-1;
c=getchar();
}
while(c>='0' && c<='9'){
x=x*10+c-'0';
c=getchar();
}
return x*sgn;
}
void write(int x){if (x>=10)write(x/10);putchar(x%10+'0');}
void writeln(int x){if (x<0)x=-x,putchar('-');write(x);putchar('\n');}
int main() {
int T=read();
while(T--){writeln(read()+read());}
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 23.66 us | 12 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-11-23 22:59:06 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠