UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#129163#775. c5033013971003160ms9040kbC++1.3kb2021-06-06 13:06:352021-06-06 13:06:36

answer


详细

小提示:点击横条可展开更详细的信息

Subtask #1:

score: 20
Accepted

Test #1:

score: 20
Accepted
time: 0ms
memory: 1228kb

input:

5 2
3 2 1 5 5
5
4 4
2 4
5 5
1 4
1 5

output:

Bob
Alice
Bob
Alice
Bob

result:

ok 5 tokens

Test #2:

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

input:

5 2
4 5 5 4 4
5
1 5
1 3
2 5
2 2
1 4

output:

Alice
Bob
Bob
Bob
Alice

result:

ok 5 tokens

Test #3:

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

input:

5 1
1 5 5 4 3
5
3 5
3 4
4 4
2 3
2 5

output:

Bob
Alice
Bob
Bob
Alice

result:

ok 5 tokens

Test #4:

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

input:

5 1
3 5 2 2 3
5
3 4
1 3
4 4
4 4
2 5

output:

Bob
Alice
Bob
Bob
Alice

result:

ok 5 tokens

Subtask #2:

score: 20
Accepted

Test #5:

score: 20
Accepted
time: 0ms
memory: 1244kb

input:

1000 1
579 135 716 903 239 835 496 667 684 811 837 987 365 647 930 344 793 60 606 409 802 992 70 551...

output:

Alice
Alice
Bob
Bob
Bob
Bob
Alice
Alice
Alice
Alice
Bob
Alice
Alice
Bob
Alice
Bob
Alice
Alice
Alice
...

result:

ok 1000 tokens

Test #6:

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

input:

1000 1
907 74 801 931 823 967 419 891 798 725 698 167 416 239 856 170 769 955 140 902 172 626 585 21...

output:

Alice
Bob
Alice
Bob
Bob
Alice
Alice
Alice
Alice
Alice
Alice
Bob
Bob
Alice
Alice
Bob
Bob
Bob
Alice
Al...

result:

ok 1000 tokens

Test #7:

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

input:

1000 1
184 277 692 787 344 384 588 480 889 705 652 402 846 379 939 127 560 351 344 873 32 137 713 37...

output:

Bob
Alice
Bob
Bob
Alice
Bob
Alice
Bob
Bob
Bob
Alice
Alice
Bob
Alice
Bob
Bob
Alice
Alice
Bob
Bob
Alic...

result:

ok 1000 tokens

Test #8:

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

input:

1000 2
903 491 702 170 614 501 424 359 370 784 547 69 764 187 325 44 286 155 663 517 713 554 783 106...

output:

Alice
Bob
Alice
Bob
Alice
Bob
Alice
Bob
Bob
Alice
Alice
Alice
Bob
Bob
Alice
Alice
Bob
Alice
Alice
Al...

result:

ok 1000 tokens

Test #9:

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

input:

1000 1
2 4 7 10 12 13 14 16 18 20 22 25 26 29 31 33 36 37 38 41 43 46 48 50 52 54 57 60 62 65 66 67 ...

output:

Bob
Bob
Bob
Alice
Bob
Alice
Alice
Alice
Alice
Alice
Alice
Bob
Alice
Alice
Bob
Alice
Alice
Alice
Alic...

result:

ok 1000 tokens

Test #10:

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

input:

1000 1
2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 3...

output:

Bob
Bob
Bob
Bob
Alice
Bob
Alice
Bob
Bob
Bob
Alice
Alice
Bob
Bob
Alice
Bob
Bob
Alice
Bob
Bob
Alice
Al...

result:

ok 1000 tokens

Test #11:

score: 0
Accepted
time: 1ms
memory: 1240kb

input:

1000 2
1 2 1 1 2 3 4 759 350 333 512 549 485 983 176 648 368 221 670 727 886 308 844 642 889 730 518...

output:

Bob
Bob
Bob
Alice
Alice
Alice
Alice
Alice
Alice
Alice
Bob
Alice
Bob
Alice
Alice
Bob
Alice
Bob
Alice
...

result:

ok 1000 tokens

Subtask #3:

score: 30
Accepted

Test #12:

score: 30
Accepted
time: 398ms
memory: 9036kb

input:

1000000 1
760220 214593 288949 824243 884818 26205 960762 123027 388752 230122 332837 671592 326160 ...

output:

Alice
Alice
Alice
Bob
Alice
Alice
Alice
Alice
Bob
Alice
Alice
Alice
Alice
Alice
Alice
Alice
Bob
Bob
...

result:

ok 1000000 tokens

Test #13:

score: 0
Accepted
time: 368ms
memory: 9036kb

input:

1000000 1
363239 892087 372618 910894 479765 314674 224317 612858 309866 355536 589499 560235 769226...

output:

Bob
Bob
Alice
Bob
Alice
Alice
Alice
Alice
Alice
Alice
Alice
Bob
Alice
Bob
Alice
Alice
Bob
Alice
Alic...

result:

ok 1000000 tokens

Test #14:

score: 0
Accepted
time: 248ms
memory: 9040kb

input:

1000000 1
2 3 4 5 7 9 10 13 16 17 19 22 23 26 28 29 32 33 36 37 39 41 42 44 45 48 50 51 52 54 55 57 ...

output:

Alice
Alice
Alice
Alice
Bob
Alice
Bob
Alice
Alice
Bob
Bob
Alice
Bob
Alice
Bob
Bob
Alice
Alice
Alice
...

result:

ok 1000000 tokens

Test #15:

score: 0
Accepted
time: 397ms
memory: 9040kb

input:

1000000 1
2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3...

output:

Bob
Bob
Bob
Bob
Alice
Alice
Bob
Alice
Bob
Bob
Bob
Bob
Bob
Bob
Alice
Alice
Alice
Alice
Bob
Alice
Alic...

result:

ok 1000000 tokens

Subtask #4:

score: 30
Accepted

Test #16:

score: 30
Accepted
time: 330ms
memory: 9040kb

input:

1000000 2
695243 155898 29744 2454 415861 745546 231643 571970 688397 718566 92758 953326 8978 20914...

output:

Bob
Bob
Bob
Bob
Alice
Bob
Alice
Alice
Bob
Bob
Alice
Bob
Alice
Alice
Bob
Bob
Alice
Alice
Bob
Alice
Al...

result:

ok 1000000 tokens

Test #17:

score: 0
Accepted
time: 399ms
memory: 9036kb

input:

1000000 1
355460 56308 166504 135722 102809 496452 418714 396088 825185 210072 423679 889693 456194 ...

output:

Alice
Alice
Alice
Bob
Alice
Alice
Alice
Bob
Alice
Bob
Bob
Bob
Bob
Bob
Bob
Bob
Bob
Bob
Alice
Alice
Al...

result:

ok 1000000 tokens

Test #18:

score: 0
Accepted
time: 254ms
memory: 9040kb

input:

1000000 2
2 3 6 7 10 12 15 17 20 23 24 26 28 31 32 35 36 37 39 41 44 45 46 49 51 53 55 56 58 59 61 6...

output:

Alice
Bob
Bob
Alice
Alice
Bob
Bob
Alice
Bob
Alice
Bob
Alice
Bob
Alice
Alice
Bob
Alice
Alice
Bob
Alic...

result:

ok 1000000 tokens

Test #19:

score: 0
Accepted
time: 403ms
memory: 9040kb

input:

1000000 2
2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3...

output:

Bob
Bob
Alice
Bob
Alice
Bob
Bob
Bob
Bob
Bob
Bob
Alice
Alice
Bob
Bob
Bob
Bob
Alice
Bob
Bob
Bob
Bob
Bo...

result:

ok 1000000 tokens

Test #20:

score: 0
Accepted
time: 362ms
memory: 9036kb

input:

1000000 2
1 2 1 1 2 3 4 122751 892088 511352 501336 13674 681351 968708 740368 538958 160354 219343 ...

output:

Bob
Alice
Alice
Bob
Bob
Bob
Bob
Alice
Alice
Alice
Alice
Alice
Bob
Bob
Alice
Alice
Bob
Bob
Alice
Bob
...

result:

ok 1000000 tokens