QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505547#5989. Coin Jamxiaowuc127 14ms10668kbPython327.8kb2024-08-05 06:03:322024-08-05 06:03:33

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 9ms
memory: 10668kb

input:

1
16 50

output:

Case #1:
1111111100000011 3 2 5 2 7 2 3 2 11
1111110110000011 3 2 5 2 7 2 3 2 11
1111110011000011 3 2 5 2 7 2 3 2 11
1111110001100011 3 2 5 2 7 2 3 2 11
1111110000110011 3 2 5 2 7 2 3 2 11
1111110000011011 3 2 5 2 7 2 3 2 11
1111011110000011 3 2 5 2 7 2 3 2 11
1111011011000011 3 2 5 2 7 2 3 2 11
111...

result:

ok correct! (1 test case)

Subtask #2:

score: 20
Accepted

Test #2:

score: 20
Accepted
time: 14ms
memory: 10628kb

input:

1
32 500

output:

Case #1:
11111111000000000000000000000011 3 2 5 2 7 2 3 2 11
11111101100000000000000000000011 3 2 5 2 7 2 3 2 11
11111100110000000000000000000011 3 2 5 2 7 2 3 2 11
11111100011000000000000000000011 3 2 5 2 7 2 3 2 11
11111100001100000000000000000011 3 2 5 2 7 2 3 2 11
1111110000011000000000000000001...

result:

ok correct! (1 test case)

Extra Test:

score: -3
Extra Test Failed : Wrong Answer on 1
time: 14ms
memory: 10788kb

input:

1
6 3

output:

Case #1:
1111111100000011 3 2 5 2 7 2 3 2 11
1111110110000011 3 2 5 2 7 2 3 2 11
1111110011000011 3 2 5 2 7 2 3 2 11
1111110001100011 3 2 5 2 7 2 3 2 11
1111110000110011 3 2 5 2 7 2 3 2 11
1111110000011011 3 2 5 2 7 2 3 2 11
1111011110000011 3 2 5 2 7 2 3 2 11
1111011011000011 3 2 5 2 7 2 3 2 11
111...

result:

wrong answer the length of your jamcoin should be exactly 6 (test case 1)