提交记录 11870


用户 题目 状态 得分 用时 内存 语言 代码长度
Sweetlemon 1000i. 【传统题】 A+B Problem Accepted 100 32.72 us 12 KB C++11 451 B
提交时间 评测时间
2020-02-17 19:07:28 2020-08-01 02:48:38
#include <cstdio>
#include <cctype>
using namespace std;
int uread(void);
int main(void){
    int n,a,b;
    n=uread();
    while (n--){
        a=uread(),b=uread();
        printf("%d\n",a+b);
    }
    return 0;
}
int uread(void){
    char ch=getchar();
    int symbol=0;
    int x=0;
    while (!isdigit(ch))
        (ch=='-')?(symbol=1):(0),ch=getchar();
    while (isdigit(ch))
        x=x*10+(ch^48),ch=getchar();
    return (symbol)?(-x):(x);
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #132.72 us12 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2024-04-19 14:54:11 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用