QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505507#5913. Osmosxiaowuc122 ✓1ms3620kbC++171.7kb2024-08-05 05:49:492024-08-05 05:49:49

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 0ms
memory: 3552kb

input:

100
3 8
5 6 9 4 8 2 1 7
3 1
2
3 10
2 4 8 16 32 64 100 100 100 100
3 10
1 4 4 4 4 4 4 4 4 4
100 1
100
3 5
11 20 60 22 100
2 10
100 100 100 100 100 100 100 100 100 100
3 5
100 100 100 100 100
3 4
1 6 12 49
2 6
9 64 19 16 81 80
1 10
100 100 100 100 100 100 100 100 100 100
1 10
1 1 1 1 1 1 1 1 1 1
1 2
3...

output:

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

result:

ok 100 lines

Subtask #2:

score: 12
Accepted

Test #2:

score: 12
Accepted
time: 1ms
memory: 3620kb

input:

100
3 8
5 6 9 4 8 2 1 7
3 1
2
3 100
2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 10...

output:

Case #1: 0
Case #2: 0
Case #3: 0
Case #4: 1
Case #5: 1
Case #6: 20
Case #7: 3
Case #8: 20
Case #9: 20
Case #10: 5
Case #11: 19
Case #12: 100
Case #13: 100
Case #14: 2
Case #15: 5
Case #16: 3
Case #17: 0
Case #18: 0
Case #19: 0
Case #20: 0
Case #21: 0
Case #22: 0
Case #23: 0
Case #24: 0
Case #25: 2
C...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed