提交记录 4628
| 提交时间 |
评测时间 |
| 2018-07-26 19:25:32 |
2020-07-31 23:09:05 |
#include<cstdio>
inline int read() {
static char c; int rec=0,f=0;
while((c=getchar())<'0'||c>'9') f|=c=='-';
while(c>='0'&&c<='9') rec=rec*10+c-'0',c=getchar();
return f?-rec:rec;
}
int n;
char ssr[2005],*S=ssr;
char stk[20];
int main() {
n=read();
for(register int i=1,x,tp;i<=2;++i) {
x=read()+read(); tp=0;
if(x<0) *S++='-',x=-x;
else if(x==0) *S++='0';
while(x) stk[++tp]=x%10+'0',x/=10;
while(tp) *S++=stk[tp--];
*S++='\n';
}
printf("%s",ssr);
return 0;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 10.17 us | 16 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-13 06:42:26 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠