QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#130180#1. I/O TestNOI_AK_ME0 72ms100404kbC891b2023-07-23 17:29:112023-07-23 17:29:12

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-23 17:29:12]
  • 评测
  • 测评结果:0
  • 用时:72ms
  • 内存:100404kb
  • [2023-07-23 17:29:11]
  • 提交

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
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 72ms
memory: 100404kb

input:

10000000
909014560 261789592 967889530 693807048 396856499 257606753 529597832 547801895 952031003 907244473 792903265 572121220 204539727 967940220 103080413 935739193 293188140 975169676 710490829 502737345 980852684 540213630 414490013 909734140 958051826 663101881 304654743 976831185 163712662 8...

output:

5499542435483779

result:

wrong answer expected 5499543065037352, found 5499542435483779

Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

10000000

output:


result: