提交记录 28783


用户 题目 状态 得分 用时 内存 语言 代码长度
BusySheng 1000i. 【传统题】 A+B Problem Wrong Answer 0 41.69 us 40 KB C++ 525 B
提交时间 评测时间
2026-01-03 16:23:00 2026-01-03 16:23:03
#include<bits/stdc++.h>
using namespace std;

const int SIZE = 1<<14; // 16 KB
char getc()
{
    static char buf[SIZE],*begin=buf,*end=buf;
    if(begin==end)
    {
        begin = buf;
        end = buf+fread(buf,1,SIZE,stdin);
    }
    return *begin++;
}

int read()
{
    int ret=0,sgn=0,ch=getc();
    while(!isdigit(ch)) sgn != ch == '-', ch=getc();
    while(isdigit(ch)) ret = ret*10 + ch -'0',ch=getc();
    return sgn ? -ret : ret;
}

int main()
{
    int a=read(),b=read();
    printf("%d\n",a+b);
    return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #141.69 us40 KBWrong AnswerScore: 0


Judge Duck Online | 评测鸭在线
Server Time: 2026-02-25 15:57:19 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠