QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#310326#5236. Wersja dla profesjonalistów [A]MaMengQi0 1063ms4100kbC++20834b2024-01-21 11:07:532024-01-21 11:07:54

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 1
Accepted
time: 0ms
memory: 3900kb

input:

1

output:

BDF

result:

ok correct (length = 3)

Test #2:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

2

output:

2BDFDBD2F

result:

ok correct (length = 13)

Test #3:

score: 0
Accepted
time: 0ms
memory: 4024kb

input:

4

output:

4B3[DF]D3BDFDFD2BDFDBD4F

result:

ok correct (length = 30)

Test #4:

score: 0
Accepted
time: 0ms
memory: 3748kb

input:

5

output:

5B4[DF]D4B3[DF]D3BDFDFD2BDFDBD5F

result:

ok correct (length = 43)

Test #5:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

6

output:

6B5[DF]D5B4[DF]D4B3[DF]D3BDFDFD2BDFDBD6F

result:

ok correct (length = 53)

Test #6:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

7

output:

7B6[DF]D6B5[DF]D5B4[DF]D4B3[DF]D3BDFDFD2BDFDBD7F

result:

ok correct (length = 53)

Test #7:

score: 0
Accepted
time: 0ms
memory: 3752kb

input:

10

output:

9BB9[DF]D9B8[DF]D8B7[DF]D7B6[DF]D6B5[DF]D5B4[DF]D4B3[DF]D3BDFDFD2BDFDBD9FF

result:

ok correct (length = 79)

Test #8:

score: -1
Wrong Answer
time: 0ms
memory: 3736kb

input:

69

output:

9[7B]6B9[7[DF]]5[DF]D9[7B]5B9[7[DF]]4[DF]D9[7B]4B9[7[DF]]3[DF]D9[7B]3B9[7[DF]]DFDFD9[7B]2B9[7[DF]]DFD9[7B]B9[7[DF]]D9[7B]9[6[DF]]8[DF]D9[6B]8B9[6[DF]]7[DF]D9[6B]7B9[6[DF]]6[DF]D9[6B]6B9[6[DF]]5[DF]D9[6B]5B9[6[DF]]4[DF]D9[6B]4B9[6[DF]]3[DF]D9[6B]3B9[6[DF]]DFDFD9[6B]2B9[6[DF]]DFD9[6B]B9[6[DF]]D9[6B]9[...

result:

wrong answer invalid output

Subtask #2:

score: 0
Wrong Answer

Test #16:

score: 0
Wrong Answer
time: 1ms
memory: 3832kb

input:

320

output:

9[9[3B]8B]5B9[9[3[DF]]8[DF]]4[DF]D9[9[3B]8B]4B9[9[3[DF]]8[DF]]3[DF]D9[9[3B]8B]3B9[9[3[DF]]8[DF]]DFDFD9[9[3B]8B]2B9[9[3[DF]]8[DF]]DFD9[9[3B]8B]B9[9[3[DF]]8[DF]]D9[9[3B]8B]9[9[3[DF]]7[DF]]8[DF]D9[9[3B]7B]8B9[9[3[DF]]7[DF]]7[DF]D9[9[3B]7B]7B9[9[3[DF]]7[DF]]6[DF]D9[9[3B]7B]6B9[9[3[DF]]7[DF]]5[DF]D9[9[3B...

result:

wrong answer invalid output

Subtask #3:

score: 0
Wrong Answer

Test #28:

score: 0
Wrong Answer
time: 1047ms
memory: 4100kb

input:

1000000

output:

9[9[9[9[9[9B7B]8B]3B]6B]6B]B9[9[9[9[9[9DF716[DF]]8[DF]]3[DF]]6[DF]]6[DF]]D9[9[9[9[9[9B7B]8B]3B]6B]6B]9[9[9[9[9[9DF716[DF]]8[DF]]3[DF]]6[DF]]5[DF]]8[DF]D9[9[9[9[9[9B7B]8B]3B]6B]5B]8B9[9[9[9[9[9DF716[DF]]8[DF]]3[DF]]6[DF]]5[DF]]7[DF]D9[9[9[9[9[9B7B]8B]3B]6B]5B]7B9[9[9[9[9[9DF716[DF]]8[DF]]3[DF]]6[DF]]...

result:

wrong output format Length of token exceeds 33554432, token is '9[9[9[9[9[9B7B]8B]3B]6B]6B]B9[...[DF]]4[DF]D9[9[9[9[9[9B]]6B]]4B...'

Subtask #4:

score: 0
Wrong Answer

Test #37:

score: 0
Wrong Answer
time: 1063ms
memory: 3796kb

input:

999999

output:

9[9[9[9[9[9B7B]8B]3B]6B]6B]9[9[9[9[9[9DF716[DF]]8[DF]]3[DF]]6[DF]]5[DF]]8[DF]D9[9[9[9[9[9B7B]8B]3B]6B]5B]8B9[9[9[9[9[9DF716[DF]]8[DF]]3[DF]]6[DF]]5[DF]]7[DF]D9[9[9[9[9[9B7B]8B]3B]6B]5B]7B9[9[9[9[9[9DF716[DF]]8[DF]]3[DF]]6[DF]]5[DF]]6[DF]D9[9[9[9[9[9B7B]8B]3B]6B]5B]6B9[9[9[9[9[9DF716[DF]]8[DF]]3[DF]]...

result:

wrong output format Length of token exceeds 33554432, token is '9[9[9[9[9[9B7B]8B]3B]6B]6B]9[9...9[9[9[9B]]6B]]4B]3B9[9[9[9[9[9[...'

Subtask #5:

score: 0
Time Limit Exceeded

Test #46:

score: 0
Time Limit Exceeded

input:

10000000000

output:

9[9[9[9[9[9[9[9[9[3B]5B]6B]7B]2B]5B]2B]]8B]2B9[9[9[9[9[9[9[9[9[3[DF]]5[DF]]6[DF]]7[DF]]DFDF]5[DF]]DFDF]]8[DF]]DFD9[9[9[9[9[9[9[9[9[3B]5B]6B]7B]2B]5B]2B]]8B]B9[9[9[9[9[9[9[9[9[3[DF]]5[DF]]6[DF]]7[DF]]DFDF]5[DF]]DFDF]]8[DF]]D9[9[9[9[9[9[9[9[9[3B]5B]6B]7B]2B]5B]2B]]8B]9[9[9[9[9[9[9[9[9[3[DF]]5[DF]]6[DF...

result:


Subtask #6:

score: 0
Time Limit Exceeded

Test #55:

score: 0
Time Limit Exceeded

input:

9999999999

output:

9[9[9[9[9[9[9[9[9[3B]5B]6B]7B]2B]5B]2B]]8B]B9[9[9[9[9[9[9[9[9[3[DF]]5[DF]]6[DF]]7[DF]]DFDF]5[DF]]DFDF]]8[DF]]D9[9[9[9[9[9[9[9[9[3B]5B]6B]7B]2B]5B]2B]]8B]9[9[9[9[9[9[9[9[9[3[DF]]5[DF]]6[DF]]7[DF]]DFDF]5[DF]]DFDF]]7[DF]]8[DF]D9[9[9[9[9[9[9[9[9[3B]5B]6B]7B]2B]5B]2B]]7B]8B9[9[9[9[9[9[9[9[9[3[DF]]5[DF]]6...

result:


Subtask #7:

score: 0
Time Limit Exceeded

Test #64:

score: 0
Time Limit Exceeded

input:

100000000000000

output:

9[9[9[9[9[9[9[9[6B]3B]7B]B]5B]8B]2B]7B]B9[9[9[9[9[9[9[9[6[DF]]3[DF]]7[DF]]DF]5[DF]]8[DF]]DFDF]7[DF]]D9[9[9[9[9[9[9[9[6B]3B]7B]B]5B]8B]2B]7B]9[9[9[9[9[9[9[9[6[DF]]3[DF]]7[DF]]DF]5[DF]]8[DF]]DFDF]6[DF]]8[DF]D9[9[9[9[9[9[9[9[6B]3B]7B]B]5B]8B]2B]6B]8B9[9[9[9[9[9[9[9[6[DF]]3[DF]]7[DF]]DF]5[DF]]8[DF]]DFDF...

result:


Subtask #8:

score: 0
Time Limit Exceeded

Test #84:

score: 0
Time Limit Exceeded

input:

99999999999999

output:

9[9[9[9[9[9[9[9[6B]3B]7B]B]5B]8B]2B]7B]9[9[9[9[9[9[9[9[6[DF]]3[DF]]7[DF]]DF]5[DF]]8[DF]]DFDF]6[DF]]8[DF]D9[9[9[9[9[9[9[9[6B]3B]7B]B]5B]8B]2B]6B]8B9[9[9[9[9[9[9[9[6[DF]]3[DF]]7[DF]]DF]5[DF]]8[DF]]DFDF]6[DF]]7[DF]D9[9[9[9[9[9[9[9[6B]3B]7B]B]5B]8B]2B]6B]7B9[9[9[9[9[9[9[9[6[DF]]3[DF]]7[DF]]DF]5[DF]]8[DF...

result:


Subtask #9:

score: 0
Time Limit Exceeded

Test #103:

score: 0
Time Limit Exceeded

input:

1000000000000000000

output:

-1486618624BDFDFD-1486618625BDFDFD-1486618626BDFDFD-1486618627BDFDFD-1486618628BDFDFD-1486618629BDFDFD-1486618630BDFDFD-1486618631BDFDFD-1486618632BDFDFD-1486618633BDFDFD-1486618634BDFDFD-1486618635BDFDFD-1486618636BDFDFD-1486618637BDFDFD-1486618638BDFDFD-1486618639BDFDFD-1486618640BDFDFD-1486618641...

result:


Subtask #10:

score: 0
Time Limit Exceeded

Test #128:

score: 0
Time Limit Exceeded

input:

999999999999999999

output:

-1486618625BDFDFD-1486618626BDFDFD-1486618627BDFDFD-1486618628BDFDFD-1486618629BDFDFD-1486618630BDFDFD-1486618631BDFDFD-1486618632BDFDFD-1486618633BDFDFD-1486618634BDFDFD-1486618635BDFDFD-1486618636BDFDFD-1486618637BDFDFD-1486618638BDFDFD-1486618639BDFDFD-1486618640BDFDFD-1486618641BDFDFD-1486618642...

result: