QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505462#5814. Snapper Chainxiaowuc133 ✓40ms10576kbPython3224b2024-08-05 05:33:512024-08-05 05:33:52

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 25ms
memory: 10576kb

input:

10000
2 62
7 77
5 30
4 35
3 5
10 34
8 32
6 68
6 43
9 99
6 63
6 26
7 57
9 42
8 9
4 14
4 66
8 81
7 24
3 48
10 18
1 56
3 2
2 12
10 79
7 32
7 20
2 8
5 42
7 11
2 13
2 44
4 41
7 14
2 73
4 81
9 7
5 77
1 81
10 93
9 43
5 99
3 68
2 91
10 26
9 51
1 94
2 39
3 34
6 86
3 56
2 86
3 11
2 31
8 20
10 10
2 24
1 58
8 5...

output:

Case #1: OFF
Case #2: OFF
Case #3: OFF
Case #4: OFF
Case #5: OFF
Case #6: OFF
Case #7: OFF
Case #8: OFF
Case #9: OFF
Case #10: OFF
Case #11: ON
Case #12: OFF
Case #13: OFF
Case #14: OFF
Case #15: OFF
Case #16: OFF
Case #17: OFF
Case #18: OFF
Case #19: OFF
Case #20: OFF
Case #21: OFF
Case #22: OFF
Ca...

result:

ok 10000 lines

Subtask #2:

score: 23
Accepted

Test #2:

score: 23
Accepted
time: 40ms
memory: 10576kb

input:

10000
19 4075243
15 906849
9 41471
2 2821544
17 12010948
20 11357523
30 11725542
22 7908464
7 6139796
18 9484504
28 13198354
14 835583
6 12486025
19 50855935
23 4164267
14 10248487
5 10650264
23 13580242
30 5243029
18 5543962
19 9961471
13 9462889
4 7164815
14 1316333
4 2317539
8 1417317
24 12851165...

output:

Case #1: OFF
Case #2: OFF
Case #3: ON
Case #4: OFF
Case #5: OFF
Case #6: OFF
Case #7: OFF
Case #8: OFF
Case #9: OFF
Case #10: OFF
Case #11: OFF
Case #12: ON
Case #13: OFF
Case #14: ON
Case #15: OFF
Case #16: OFF
Case #17: OFF
Case #18: OFF
Case #19: OFF
Case #20: OFF
Case #21: ON
Case #22: OFF
Case ...

result:

ok 10000 lines

Extra Test:

score: 0
Extra Test Passed