QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#130168#1. I/O TestNOI_AK_ME0 0ms0kbC885b2023-07-23 17:25:092023-07-23 17:25: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:25:12]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2023-07-23 17:25:09]
  • 提交

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
void f(x) {
    if (x > 9) f(x / 10);
    pc(x % 10 + 48);
}
main() {
	for (i = 0; i ^ 10000000; ++ i) f(100000000), pc(' ');
    fwrite(w, 1, ++ v, stdout);
}

詳細信息

Subtask #1:

score: 0
input_test Judgement Failed

Test #1:

score: 0
input_test Judgement Failed

input:

10000000
317079644 813385745 505684274 162961420 132440255 155891516 476311321 538763038 852011157 459795759 734460440 191420007 555891630 411812735 406238415 304094896 869752619 734383036 501754548 768282345 430764571 512484324 597047697 697314272 649902919 500023873 284496218 880943967 372079743 4...

output:


result:


Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

10000000

output:


result: