提交记录 9271
| 用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
|---|---|---|---|---|---|---|---|
| wanghongyi | 1000i. 【传统题】 A+B Problem | Accepted | 100 | 38.3 us | 16 KB | C++11 | 283 B |
| 提交时间 | 评测时间 |
|---|---|
| 2019-04-21 20:08:20 | 2020-08-01 01:34:57 |
#include<cstdio>
using namespace std;
struct node{
int x;
node operator+(const node &b){
return (node){x+b.x};
}
} a,b;
int n;
int main(){
scanf("%d",&n);
while (n--){
scanf("%d%d",&a.x,&b.x);
printf("%d\n",(a+b).x);
}
return 0;
}
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-04 13:37:45 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠