QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#41036 | #1. I/O Test | L1ngYu | 100 | 125ms | 11756kb | C++20 | 841b | 2022-07-27 14:18:43 | 2022-07-27 14:18:44 |
Judging History
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]