QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#41029 | #1. I/O Test | L1ngYu | Compile Error | / | / | C++20 | 1.3kb | 2022-07-27 14:12:22 | 2022-07-27 14:12:22 |
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:12:22]
- 评测
- 测评结果:Compile Error
- 用时:0ms
- 内存:0kb
- [2022-07-27 14:12:22]
- 提交
config.txt
10000000
input_test
#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 << x, 0;
}
output_test
#include <iostream>
using namespace std;
struct write
{
static const int M = 1 << 23;
char buf[M], *O = buf, s[50], len;
inline void out(char x) { (O - buf < M) ? (*O++ = x) : (fwrite(buf, O - buf, 1, stdout), O = buf, *O++ = x); }
inline void put() { fwrite(buf, O - buf, 1, stdout); } // return cout.put(), 0;
write &operator<<(char x) { out(x); return *this; }
write &operator<<(int x) { if (x < 0) out('-'), x = -x; if (!x) out('0'); for (len = 0;x;x /= 10) s[++len] = x % 10 + '0'; while (len--) out(s[len + 1]); return *this; }
}Cout;
constexpr int N = 1e9 - 1;
signed main()
{
int n; cin >> n;
for (int i = 1;i <= n;++i) cout << N << ' ';
return Cout.put(), 0;
}
詳細信息
Invalid Configuration File: failed to read Nin and Nout