提交记录 12660
| 提交时间 |
评测时间 |
| 2020-04-27 08:44:43 |
2020-08-01 02:57:17 |
#include <stdio.h>
char _,_b[33],_p; bool neg;
#define scan(x) do{neg=0;if((x=getchar())=='-')neg=1,x=getchar();for(x-='0';'0'<=(_=getchar()); x=(x<<1)+(x<<3)+_-'0');if(neg)x=-x;}while(0);
#define print(x) do{_p=0;if(x<0)putchar('-'),x=-x;if(!x)putchar('0');while(x)_b[++_p]=x%10+'0',x/=10;while(_p)putchar(_b[_p--]);}while(0);
int main() {
int n,a,b,c;
scan(n);
while (n--) {
scan(a); scan(b);
c=a+b;
print(c); putchar('\n');
}
return 0;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 22.95 us | 12 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-25 16:50:11 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠