QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#19377#2425. The Collection Gamemason5 61ms3888kbC++20487b2022-01-30 02:33:422022-05-06 05:01:41

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Accepted

Test #1:

score: 0
Accepted
time: 3ms
memory: 3816kb

input:

4 50
1 0
1 0
1 1
1 0
1 0
1 1

output:

946149565 3 4
547293220
946149565 2 4
547293220
946149565 1 4
547293220
946149565 3 4
547293220
946149565 2 4
547293220
946149565 2 3
547293220
345685428 1 4 2 3

result:

points 1.0 points  1.0 Correct

Subtask #2:

score: 0
Runtime Error

Test #2:

score: 5
Accepted
time: 2ms
memory: 3684kb

input:

10 5000
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0

output:

946149565 9 10
547293220
946149565 8 10
547293220
946149565 7 10
547293220
946149565 6 10
547293220
946149565 5 6
547293220
946149565 4 6
547293220
946149565 3 6
547293220
946149565 2 6
547293220
946149565 1 6
547293220
946149565 9 10
547293220
946149565 8 10
547293220
946149565 7 10
547293220
94614...

result:

points 1.0 points  1.0 Correct

Test #3:

score: 0
Accepted
time: 56ms
memory: 3836kb

input:

100 5000
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0...

output:

946149565 99 100
547293220
946149565 98 100
547293220
946149565 97 100
547293220
946149565 96 100
547293220
946149565 95 100
547293220
946149565 94 100
547293220
946149565 93 100
547293220
946149565 92 100
547293220
946149565 91 100
547293220
946149565 90 100
547293220
946149565 89 100
547293220
946...

result:

points 1.0 points  1.0 Correct

Test #4:

score: -5
Runtime Error

input:

250 5000
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0...

output:

946149565 249 250
547293220
946149565 248 250
547293220
946149565 247 250
547293220
946149565 246 250
547293220
946149565 245 250
547293220
946149565 244 250
547293220
946149565 243 250
547293220
946149565 242 250
547293220
946149565 241 250
547293220
946149565 240 250
547293220
946149565 239 250
54...

result:


Subtask #3:

score: 0
Runtime Error

Test #10:

score: 0
Runtime Error

input:

500 1000
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0...

output:

946149565 499 500
547293220
946149565 498 500
547293220
946149565 497 500
547293220
946149565 496 500
547293220
946149565 495 500
547293220
946149565 494 500
547293220
946149565 493 494
547293220
946149565 492 494
547293220
946149565 491 494
547293220
946149565 490 494
547293220
946149565 489 494
54...

result:


Subtask #4:

score: 3
Accepted

Test #15:

score: 3
Accepted
time: 4ms
memory: 3684kb

input:

10 5000
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1

output:

946149565 9 10
547293220
946149565 8 9
547293220
946149565 7 8
547293220
946149565 6 7
547293220
946149565 5 6
547293220
946149565 4 5
547293220
946149565 3 4
547293220
946149565 2 3
547293220
946149565 1 2
547293220
946149565 9 10
547293220
946149565 8 9
547293220
946149565 7 8
547293220
946149565 ...

result:

points 1.0 points  1.0 Correct

Test #16:

score: 0
Accepted
time: 23ms
memory: 3540kb

input:

100 5000
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1...

output:

946149565 99 100
547293220
946149565 98 99
547293220
946149565 97 98
547293220
946149565 96 97
547293220
946149565 95 96
547293220
946149565 94 95
547293220
946149565 93 94
547293220
946149565 92 93
547293220
946149565 91 92
547293220
946149565 90 91
547293220
946149565 89 90
547293220
946149565 88 ...

result:

points 1.0 points  1.0 Correct

Subtask #5:

score: 2
Accepted

Dependency #4:

100%
Accepted

Test #17:

score: 2
Accepted
time: 1ms
memory: 3712kb

input:

10 5000
1 1
1 0
1 1
1 0
1 0
1 0
1 1
1 1
1 0
1 1
1 0
1 0
1 1
1 1
1 1
1 0
1 0
1 1
1 1
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 1
1 0
1 1
1 0
1 1
1 1
1 1
1 0
1 1
1 0
1 0
1 0
1 1
1 0
1 1
1 0
1 1
1 0
1 0

output:

946149565 9 10
547293220
946149565 8 9
547293220
946149565 7 9
547293220
946149565 6 7
547293220
946149565 5 7
547293220
946149565 4 7
547293220
946149565 3 7
547293220
946149565 2 3
547293220
946149565 1 2
547293220
946149565 9 10
547293220
946149565 8 9
547293220
946149565 7 9
547293220
946149565 ...

result:

points 1.0 points  1.0 Correct

Test #18:

score: 0
Accepted
time: 61ms
memory: 3888kb

input:

100 5000
1 0
1 0
1 0
1 0
1 1
1 1
1 1
1 0
1 0
1 1
1 1
1 0
1 1
1 0
1 1
1 1
1 1
1 1
1 1
1 0
1 1
1 0
1 0
1 0
1 0
1 1
1 1
1 0
1 0
1 1
1 0
1 0
1 1
1 1
1 1
1 1
1 0
1 0
1 1
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 1
1 0
1 1
1 0
1 1
1 0
1 1
1 1
1 1
1 1
1 1
1 1
1 0
1 1
1 1
1 0
1 0
1 1
1 1
1 0
1 1
1 1
1 1
1 1
1 0
1 1...

output:

946149565 99 100
547293220
946149565 98 100
547293220
946149565 97 100
547293220
946149565 96 100
547293220
946149565 95 100
547293220
946149565 94 95
547293220
946149565 93 94
547293220
946149565 92 93
547293220
946149565 91 93
547293220
946149565 90 93
547293220
946149565 89 90
547293220
946149565...

result:

points 1.0 points  1.0 Correct

Subtask #6:

score: 0
Time Limit Exceeded

Dependency #4:

100%
Accepted

Test #19:

score: 0
Time Limit Exceeded

input:

250 5000
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1...

output:

946149565 249 250
547293220
946149565 248 249
547293220
946149565 247 248
547293220
946149565 246 247
547293220
946149565 245 246
547293220
946149565 244 245
547293220
946149565 243 244
547293220
946149565 242 243
547293220
946149565 241 242
547293220
946149565 240 241
547293220
946149565 239 240
54...

result:


Subtask #7:

score: 0
Skipped

Dependency #2:

0%

Subtask #8:

score: 0
Skipped

Dependency #4:

100%
Accepted

Dependency #6:

0%

Subtask #9:

score: 0
Skipped

Dependency #3:

0%

Subtask #10:

score: 0
Skipped

Dependency #8:

0%

Subtask #11:

score: 0
Skipped

Dependency #9:

0%

Subtask #12:

score: 0
Skipped

Dependency #10:

0%

Subtask #13:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%