提交记录 6219


用户 题目 状态 得分 用时 内存 语言 代码长度
STLGirlfriend 1000i. 【传统题】 A+B Problem Runtime Error 0 5.99 us 8 KB C++ 369 B
提交时间 评测时间
2018-10-03 17:01:27 2020-08-01 00:40:40
#include <cstdio>
#include <cstdlib>
#include <sys/mman.h>
#include <sys/stat.h>

int main() {
    char *p = reinterpret_cast<char *>(mmap(0, 1 << 26, PROT_READ, MAP_PRIVATE, fileno(stdin), 0));
    int n = strtol(p, &p, 10);
    for (int i = 1; i <= n; ++i) {
        int a = strtol(p, &p, 10);
        int b = strtol(p, &p, 10);
        printf("%d\n", a + b);
    }
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #15.99 us8 KBRuntime ErrorScore: 0


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