QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#166277#7108. Couleurucup-team1599RE 1ms3484kbC++206.4kb2023-09-06 05:49:272023-09-06 05:49:27

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3484kb

input:

3
5
4 3 1 1 1
5 4 5 3 1
10
9 7 1 4 7 8 5 7 4 8
21 8 15 5 9 2 4 5 10 6
15
4 8 8 1 12 1 10 14 7 14 2 9 13 10 3
37 19 23 15 7 2 10 15 2 13 4 5 8 7 10

output:

7 0 0 0 0
20 11 7 2 0 0 0 0 0 0
42 31 21 14 14 4 1 1 1 0 0 0 0 0 0

result:

ok 3 lines

Test #2:

score: -100
Runtime Error

input:

11116
10
10 5 10 3 6 4 8 5 9 8
31 27 24 11 12 3 0 2 3 1
10
8 2 7 2 8 10 1 10 9 10
6 5 2 13 2 1 0 1 3 1
10
7 10 7 6 1 3 10 6 7 9
21 18 10 1 6 5 4 8 9 10
10
2 10 4 8 8 5 7 2 6 7
20 10 9 1 15 0 4 2 9 7
10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
10
1 2 3 4 5 6 7 8 9 10
6 3 5 2 7 10 9 1 4 8
10
1 10 1 3...

output:

100000
74688 89072 81003 44468 35847 92888 87412 21950 42627 24696 77508 10299 94941 66898 84028 30453 41839 99802 3858 98698 23689 56343 65136 68013 71312 18280 33747 33317 54681 32604 74508 6989 6450 7608 78595 6546 31482 24598 16431 80792 29732 51968 71519 25846 6520 95065 41044 66549 80242 97716...

result: