QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#130156 | #1. I/O Test | NOI_AK_ME | 0 | 0ms | 0kb | C | 905b | 2023-07-23 17:20:12 | 2023-07-23 17:20:15 |
Judging History
config.txt
10000000 10000000
input_test
#pragma GCC optimize("Ofast, unroll-loops")
#include <stdio.h>
char w[100], r[100000000], *z = r;
v = -1;
#define pc(x) w[++ v] = x
void f(long long x) {
if (x > 9) f(x / 10);
pc(x % 10 + 48);
}
l() {
register int x = 0; register char c;
do c = *z ++; while (c < 48 || c > 57);
while (c > 47 && c < 58) x = x * 10 + (c ^ 48), c = *z ++;
return x;
}
main() {
fread(r, 1, 100000000, stdin);
register long long x = 0;
for (register int i = 0; i ^ 10000000; ++ i) register int x = l(), a += x;
f(x);
fwrite(w, 1, ++ v, stdout);
}
output_test
#pragma GCC optimize("Ofast, unroll-loops")
#include <stdio.h>
char w[100000000];
v = -1;
#define pc(x) w[++ v] = x
void f(x) {
if (x > 9) f(x / 10);
pc(x % 10 + 48);
}
main() {
for (i = 0; i ^ 5000000; ++ i) f(10000000), pc(' '), f(10000000), pc(' ');
fwrite(w, 1, ++ v, stdout);
}
详细
Subtask #1:
score: 0
input_test Judgement Failed
Test #1:
score: 0
input_test Judgement Failed
input:
10000000 109266361 900444491 209865241 908644507 667094339 522396789 539114123 677130932 337017389 412245223 733717232 805690521 816518065 512668938 200543950 429199603 437696247 402585296 174900808 104634642 648229798 972920985 676337050 108508846 102663175 624879121 699959971 903186561 530911716 3...
output:
result:
Subtask #2:
score: 0
output_test Judgement Failed
Test #2:
score: 0
output_test Judgement Failed
input:
10000000