QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#321656#8212. Football in Osijekucup-team1780#TL 4ms43032kbC++174.0kb2024-02-05 04:21:272024-02-05 04:21:27

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 38868kb

input:

5
2 3 1 3 5

output:

0 1 0 0 1 

result:

ok 5 number(s): "0 1 0 0 1"

Test #2:

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

input:

1
1

output:

0 

result:

ok 1 number(s): "0"

Test #3:

score: 0
Accepted
time: 0ms
memory: 38592kb

input:

2
2 2

output:

0 0 

result:

ok 2 number(s): "0 0"

Test #4:

score: 0
Accepted
time: 0ms
memory: 42964kb

input:

10
4 7 2 8 4 3 4 9 7 3

output:

1 1 1 0 0 0 0 1 2 3 

result:

ok 10 numbers

Test #5:

score: 0
Accepted
time: 0ms
memory: 38872kb

input:

10
8 7 4 8 3 4 2 5 3 7

output:

1 0 0 0 0 1 1 1 2 3 

result:

ok 10 numbers

Test #6:

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

input:

10
7 1 4 1 6 1 1 10 5 7

output:

1 0 0 0 0 1 1 2 2 3 

result:

ok 10 numbers

Test #7:

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

input:

10
5 6 1 3 6 4 3 9 3 2

output:

1 1 1 1 0 0 0 1 1 2 

result:

ok 10 numbers

Test #8:

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

input:

10
10 4 3 6 5 10 7 5 6 6

output:

0 0 0 0 1 1 2 3 4 5 

result:

ok 10 numbers

Test #9:

score: 0
Accepted
time: 0ms
memory: 42680kb

input:

10
10 9 10 10 8 3 5 10 2 5

output:

1 0 0 0 0 1 1 2 3 4 

result:

ok 10 numbers

Test #10:

score: 0
Accepted
time: 4ms
memory: 42708kb

input:

10
1 9 7 6 2 4 7 8 1 3

output:

0 0 0 0 1 1 1 2 2 3 

result:

ok 10 numbers

Test #11:

score: 0
Accepted
time: 0ms
memory: 38580kb

input:

10
3 9 4 10 9 5 5 1 3 2

output:

1 1 1 1 0 0 0 1 1 2 

result:

ok 10 numbers

Test #12:

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

input:

100
55 62 70 100 90 98 69 1 93 8 98 86 12 1 47 95 12 35 38 59 57 60 54 34 12 17 34 51 70 32 92 47 22 42 55 88 19 74 58 43 56 80 67 86 30 14 93 87 93 58 19 19 59 82 30 68 56 87 55 92 29 87 19 71 65 40 20 65 43 94 22 62 77 40 4 32 90 88 7 40 86 30 59 9 25 93 38 20 59 23 79 10 71 92 72 25 59 86 72 44

output:

0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 5 5 5 5 6 6 6 6 7 7 7 8 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 

result:

ok 100 numbers

Test #13:

score: -100
Time Limit Exceeded

input:

1000
108 318 583 10 344 396 385 989 298 514 936 308 167 510 61 175 760 840 33 576 481 535 643 128 682 755 693 51 209 228 79 56 111 10 179 538 398 530 751 337 770 160 790 506 901 735 367 299 760 58 205 896 729 615 213 593 767 375 723 97 272 552 181 305 693 707 886 202 400 462 725 87 332 434 707 217 5...

output:


result: