提交记录 9268


用户 题目 状态 得分 用时 内存 语言 代码长度
wanghongyi 1000i. 【传统题】 A+B Problem Accepted 100 37.99 us 16 KB C++11 287 B
提交时间 评测时间
2019-04-21 20:06:46 2020-08-01 01:34:52
#include<cstdio>
using namespace std;
struct node{
    int x;
} a,b;
int n;
node operator+(const node &a,const node &b){
    return (node){a.x+b.x};
}
int main(){
    scanf("%d",&n);
    while (n--){
        scanf("%d%d",&a.x,&b.x);
        printf("%d\n",(a+b).x);
    }
    return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #137.99 us16 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2024-04-27 05:17:36 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用