QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#832657#8722. 卡牌游戏ucup-team3648#WA 255ms3816kbC++201.6kb2024-12-26 02:08:302024-12-26 02:08:31

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3548kb

input:

5
1
100
100
2
1 1
1 1
2
1 1
0 1
3
1 1 4
5 1 4
10
116 104 101 114 101 32 97 114 101 32
102 105 118 101 32 99 97 115 101 115

output:

Alice
Bob
Alice
Alice
Alice

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 255ms
memory: 3564kb

input:

1000000
1
901418150
815121916
1
455099013
31761433
1
46418945
11466871
1
709189476
658667824
1
977821005
511405192
1
843598992
501074199
1
638564514
680433292
1
994431111
584582554
1
452689372
642414314
1
863578235
135133204
1
438404803
67246919
1
492858783
447116205
1
723252212
948645336
1
19105046...

output:

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

result:

ok 1000000 lines

Test #3:

score: 0
Accepted
time: 191ms
memory: 3556kb

input:

500000
2
373642622 454169042
952441803 417874927
2
71762287 551454259
538969462 292052813
2
531091498 645143315
755275238 984088455
2
936400451 948257592
457379982 873148501
2
45309968 731348143
181471857 558039453
2
931056469 394825335
620380282 26893900
2
69376673 489359332
614858046 635100016
2
5...

output:

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

result:

ok 500000 lines

Test #4:

score: -100
Wrong Answer
time: 171ms
memory: 3816kb

input:

333334
3
255932511 789675559 760669141
384728982 140424908 361439344
3
393719043 379329282 446687639
515372386 704177992 688441074
3
939269095 492018656 596461367
570763162 161714447 384092911
3
304150759 350079205 296791887
54574629 804917425 311704304
3
120533843 787668201 243944555
281070757 3118...

output:

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

result:

wrong answer 7th lines differ - expected: 'Bob', found: 'Alice'