QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#130155 | #1. I/O Test | NOI_AK_ME | 0 | 0ms | 0kb | C++23 | 905b | 2023-07-23 17:19:47 | 2023-07-23 17:19:49 |
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);
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
input_test Judgement Failed
Test #1:
score: 0
input_test Judgement Failed
input:
10000000 566509015 569492543 418506571 554532215 802031288 289085866 352556079 272087700 576979269 117115119 563598568 387626098 255797552 693953238 744061605 318940720 620606834 638890101 419567165 104575274 348934405 894617271 432100035 195229096 297563268 765099144 778824762 850855980 128505680 4...
output:
result:
Subtask #2:
score: 0
output_test Judgement Failed
Test #2:
score: 0
output_test Judgement Failed
input:
10000000