提交记录 4535


用户 题目 状态 得分 用时 内存 语言 代码长度
MojIBakE 1000. 测测你的 A+B Compile Error 0 0 ns 0 KB C++ 473 B
提交时间 评测时间
2018-07-24 20:30:19 2020-07-31 23:03:57
#include <cstdio>
using namespace std;

inline void read(int &x){
    char ch=getchar();x=0;int f;
    if(ch=='-'){f=-1;ch=getchar();}else f=1;
    while(ch!=' '&&ch!='\n'){x=x*10+ch-'0';ch=getchar();}x*=f;
}

inline void write(int x){
    if(x<0){putchar('-');x=-x;}
    if(x>9)write(x/10);putchar(x%10+48);
}

inline void writeln(int x){write(x);putchar('\n');}

int main(int argc, char const *argv[]){
    int a, b;
    read(a);read(b);
    writeln(a+b);
    return 0;
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-13 09:44:28 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠