QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#130177 | #1. I/O Test | NOI_AK_ME | 0 | 0ms | 0kb | C | 887b | 2023-07-23 17:28:19 | 2023-07-23 17:28:21 |
Judging History
config.txt
10000000 10000000
input_test
#pragma GCC optimize("Ofast, unroll-loops")
#include <stdio.h>
char w[100], r[134217728], *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, 134217728, stdin);
register long long a = 0;
for (register int i = 0; i ^ 10000000; ++ i) register int x = l(), a += x;
f(a);
fwrite(w, 1, ++ v, stdout);
}
output_test
#pragma GCC optimize("Ofast, unroll-loops")
#include <stdio.h>
char w[134217728];
v = -1;
#define pc(x) w[++ v] = x
main() {
for (i = 0; i ^ 10000000; ++ i) pc('1'), pc('0'), pc('0'), pc('0'), pc('0'), pc('0'), pc('0'), pc('0'), pc('0'), 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 922731424 349612565 158935675 243197741 474035485 501207540 370780369 486195590 475418087 502981855 238005980 714007076 394467316 506261585 898761366 331269485 497837692 671815861 777516114 648182145 513825567 117031962 609295159 898530337 475080955 704405117 536370507 580353148 434684980 3...
output:
result:
Subtask #2:
score: 0
output_test Judgement Failed
Test #2:
score: 0
output_test Judgement Failed
input:
10000000