QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#41036#1. I/O TestL1ngYu100 125ms11756kbC++20841b2022-07-27 14:18:432022-07-27 14:18:44

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-07-27 14:18:44]
  • 评测
  • 测评结果:100
  • 用时:125ms
  • 内存:11756kb
  • [2022-07-27 14:18:43]
  • 提交

config.txt

10000000 10000000

input_test

#pragma GCC optimize("Ofast", "inline", "-ffast-math")
#pragma GCC target("avx,sse2,sse3,sse4,mmx")
#include <iostream>
using namespace std;
struct read
{
    static const int M = 1 << 23;
    char buf[M], *S = buf, *P = buf, c, l;
    inline char gc() { return (S == P && (P = (S = buf) + fread(buf, 1, M, stdin), S == P) ? EOF : *S++); }
    template<class T> read &operator>>(T &x)
    {
        for (c = 0;!isdigit(c);c = gc()) l = c;
        for (x = 0;isdigit(c);c = gc()) x = x * 10 + (c & 15);
        return x = (l ^ 45) ? x : -x, *this;
    }
}Cin;
signed main()
{
    int64_t ret = 0;
    int n, x; Cin >> n;
    for (int i = 1;i <= n;++i) Cin >> x, ret += x;
    return cout << ret, 0;
}

output_test

#include <iostream>
using namespace std;
signed main()
{
    cout << __cplusplus;
    return 0;
}

详细

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 125ms
memory: 11756kb

input:

10000000
740224979 612535112 909629293 738515791 161103588 381661530 524416755 912978232 665646221 733507359 853269760 994221980 160978423 955767136 840091710 422699294 791657814 833537548 162705797 187321135 941435055 615122301 607220942 383816540 157931890 369173744 454011338 575678076 749592651 7...

output:

5500639620159309

result:

points 1.0 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 1ms
memory: 3544kb

input:

10000000

output:

202002

result:

wrong answer Integer 202002 violates the range [10^8, 999999999]