提交记录 18840


用户 题目 状态 得分 用时 内存 语言 代码长度
chaihf 1000i. 【传统题】 A+B Problem Wrong Answer 0 42.67 us 40 KB C++11 1.01 KB
提交时间 评测时间
2022-12-29 17:59:20 2022-12-29 17:59:22
#include <bits/stdc++.h>
// fast_io
using i64 = int64_t;
using u32 = uint32_t;
using u64 = uint64_t;
#ifdef LOCAL
class IO {
public:
    inline int operator()() {
        int x;
        std::cin >> x;
        return x;
    }
    inline void operator()(int x, char c = ' ') {
        std::cout << x << c << std::flush;
    }
} io;
#else
class IO {
private:
    char buffer[1 << 12], *I = buffer, *O = buffer;
public:
    inline int operator()() {
        int x{};
        for (; !isdigit(*I); ++I);
        for (; +isdigit(*I); ++I) x = x * 10 + *I - '0';
        return x;
    }
    inline void operator()(int x, char c = ' ') {
        char ch[10];
        char *s = ch;
        for (; x >= 10; x /= 10)
            *s++ = '0' + x % 10;
        *O++ = '0' + x;
        while (s != ch)
            *O++ = *--s;
        *O++ = c;
    }
    IO() { fread(buffer, 1, sizeof(buffer), stdin); }
    ~IO() { fwrite(buffer, 1, O - buffer, stdout); }
} io;
#endif
int main() {
    for (auto i = io(); i > 0; --i) io(io() + io());
    return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #142.67 us40 KBWrong AnswerScore: 0


Judge Duck Online | 评测鸭在线
Server Time: 2025-09-16 17:00:36 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠