QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#590725 | #835. Easy Win | Z_301 | WA | 47ms | 37004kb | C++17 | 1.4kb | 2024-09-26 10:34:59 | 2024-09-26 10:34:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 7680kb
input:
6 6 6 6 6 6 6
output:
Bob Bob Bob Bob Bob Bob
result:
ok 6 tokens
Test #2:
score: 0
Accepted
time: 1ms
memory: 5728kb
input:
4 1 2 3 4
output:
Bob Alice Bob Alice
result:
ok 4 tokens
Test #3:
score: 0
Accepted
time: 1ms
memory: 7744kb
input:
5 1 2 3 2 2
output:
Bob Alice Bob Bob Bob
result:
ok 5 tokens
Test #4:
score: 0
Accepted
time: 25ms
memory: 32620kb
input:
50000 1 2 1 2 1 5 1 4 5 3 10 6 6 13 1 1 17 15 2 18 6 3 11 17 21 12 13 7 20 28 10 17 1 7 11 31 30 10 22 14 32 25 21 2 15 20 3 4 13 9 28 41 17 52 15 33 9 46 53 33 2 28 55 17 50 10 24 3 61 26 47 19 8 47 29 29 44 16 11 34 42 56 65 82 34 35 35 83 46 29 9 25 48 71 9 93 79 59 82 99 88 101 19 43 92 53 20 3 ...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice ...
result:
ok 50000 tokens
Test #5:
score: 0
Accepted
time: 32ms
memory: 36768kb
input:
75000 1 1 1 3 3 2 2 7 1 9 3 7 1 12 5 11 2 10 9 19 6 5 13 15 5 13 1 16 1 2 21 13 25 27 10 19 35 23 16 13 11 9 43 20 36 27 28 40 20 26 28 26 9 1 23 8 33 23 24 36 60 14 53 21 45 46 24 1 39 52 40 65 17 18 19 20 9 18 70 44 54 80 76 15 25 31 32 39 13 56 51 87 62 19 72 68 61 21 55 29 25 17 25 35 72 46 24 5...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice ...
result:
ok 75000 tokens
Test #6:
score: 0
Accepted
time: 47ms
memory: 36756kb
input:
100000 1 1 3 4 2 2 6 7 8 3 3 11 8 3 15 16 6 14 6 2 10 14 22 2 25 3 20 7 14 20 7 30 1 5 26 31 37 22 10 13 6 7 43 34 16 3 22 8 38 48 25 41 2 51 52 25 41 52 1 47 37 19 35 40 41 34 51 19 57 48 39 21 17 36 50 39 43 63 41 67 27 60 74 19 67 38 24 10 18 51 91 73 28 60 56 35 58 51 34 26 14 12 70 80 82 91 32 ...
output:
Bob Alice Bob Alice Bob Alice Bob Alice Alice Alice Alice Alice Alice Alice Bob Alice Alice Alice Bob Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Bob Alice Alice Alice Bob Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alic...
result:
ok 100000 tokens
Test #7:
score: 0
Accepted
time: 43ms
memory: 35100kb
input:
100000 1 1 3 2 1 3 1 3 9 6 10 11 7 1 5 13 1 6 16 15 3 20 12 9 7 19 2 12 10 5 19 28 7 34 29 35 10 31 34 4 39 2 30 8 20 34 12 12 11 15 22 21 30 13 18 43 1 35 57 19 2 50 15 53 23 2 21 59 39 22 49 32 20 20 75 13 51 78 56 79 25 16 20 11 58 78 52 41 5 2 19 65 84 35 76 82 48 47 25 38 5 32 2 63 64 17 95 49 ...
output:
Alice Bob Alice Alice Alice Bob Alice Bob 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 Bob Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alic...
result:
ok 100000 tokens
Test #8:
score: 0
Accepted
time: 36ms
memory: 36892kb
input:
100000 1 1 2 4 3 1 4 7 2 4 9 2 3 4 3 10 6 5 19 16 20 21 23 8 14 1 16 17 20 25 19 27 9 30 7 3 20 13 3 18 31 26 17 23 23 42 1 32 34 23 20 1 5 4 39 30 50 2 14 11 17 19 11 3 9 27 58 66 47 58 2 34 16 33 18 19 55 6 7 27 73 50 42 3 48 6 22 71 3 21 30 50 44 10 95 96 57 22 24 62 29 2 77 46 38 48 68 48 14 63 ...
output:
Alice Alice Alice Alice Alice Alice Alice Alice 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 Al...
result:
ok 100000 tokens
Test #9:
score: 0
Accepted
time: 40ms
memory: 35012kb
input:
100000 1 2 2 1 1 6 4 3 8 10 3 2 11 3 8 7 1 11 9 9 21 9 10 16 25 9 3 26 12 15 31 25 19 24 2 7 30 10 5 25 27 21 31 41 35 16 38 36 47 40 43 41 15 20 13 48 10 11 55 36 35 50 54 17 60 60 62 22 29 56 11 52 51 17 72 37 63 35 8 55 45 15 64 74 81 30 66 14 33 26 49 10 88 79 19 78 65 67 15 78 9 99 9 37 13 80 1...
output:
Alice Alice Alice Alice Alice Alice Alice Alice Alice Bob Alice Alice Alice Bob 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 ...
result:
ok 100000 tokens
Test #10:
score: 0
Accepted
time: 40ms
memory: 34988kb
input:
100000 1 2 1 3 5 3 5 7 9 2 2 6 5 14 6 4 4 13 6 9 13 7 9 15 7 8 13 3 22 6 16 24 25 3 16 15 32 31 30 16 14 3 17 7 39 35 27 8 20 49 41 25 1 10 5 10 27 36 44 8 57 24 38 31 51 31 24 46 37 30 30 23 54 69 51 24 72 42 23 51 12 53 22 62 72 86 7 44 64 58 34 87 43 2 56 60 55 62 6 2 33 67 44 68 100 78 103 78 67...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice ...
result:
ok 100000 tokens
Test #11:
score: 0
Accepted
time: 39ms
memory: 34972kb
input:
100000 1 1 3 1 5 2 5 3 2 1 11 9 1 10 12 1 16 1 15 14 14 9 11 14 6 16 27 8 14 12 20 22 28 31 30 15 12 8 15 30 14 28 31 22 43 17 17 28 32 16 38 52 52 1 53 5 19 3 1 32 10 59 19 45 29 57 62 1 45 4 45 65 16 8 2 30 68 71 24 15 10 13 50 50 62 84 81 75 51 77 53 71 6 29 75 75 63 48 5 19 24 87 79 59 29 4 30 4...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Al...
result:
ok 100000 tokens
Test #12:
score: 0
Accepted
time: 41ms
memory: 34972kb
input:
100000 1 1 2 2 5 1 2 7 8 7 10 1 9 7 9 14 3 4 5 3 10 18 21 13 21 24 15 17 10 2 1 20 9 9 33 23 15 23 9 21 39 22 18 40 23 36 6 32 5 24 37 36 38 17 48 23 11 28 49 40 33 24 3 58 15 24 66 25 27 48 64 35 51 66 48 48 76 78 25 43 58 55 72 42 9 38 22 17 37 6 72 44 59 62 94 57 54 43 95 35 37 5 11 42 3 100 31 4...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice ...
result:
ok 100000 tokens
Test #13:
score: 0
Accepted
time: 14ms
memory: 32680kb
input:
50000 17692 10864 23137 40234 13161 7801 45246 36612 13632 29693 17696 1590 12317 13571 21391 9281 7843 45687 39078 20858 17991 32357 35558 11113 8946 15602 2322 24939 11570 29188 21553 26417 14953 30965 2816 28991 48893 42836 16173 43854 21447 41459 38205 26906 10580 31882 37638 45028 20087 32659 5...
output:
Bob Alice Bob Alice Alice Alice Alice Bob Alice Alice Bob Alice Alice Alice 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 Alic...
result:
ok 50000 tokens
Test #14:
score: 0
Accepted
time: 32ms
memory: 34832kb
input:
75000 11224 7407 31678 65831 1283 34094 52361 3783 27679 31619 39594 30367 13477 31806 65180 37155 60725 39682 60217 50799 27435 783 55823 63063 46405 16587 73726 39928 27839 19892 20524 6813 31423 27951 6625 53395 6233 4293 52387 1253 34891 58929 2459 60720 61866 54547 18495 37336 32292 29776 50254...
output:
Bob 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 Alice Alice Alice Bob Alice Alice Al...
result:
ok 75000 tokens
Test #15:
score: 0
Accepted
time: 45ms
memory: 37004kb
input:
100000 92762 59521 53088 98048 75177 53360 95236 43895 38893 30593 96454 54079 43431 84651 70585 54608 84542 97160 83315 59622 99673 90070 97585 77538 6950 10839 66001 36711 41943 23440 78518 55390 88768 91917 93671 89107 35130 42492 45072 86453 62179 94733 91871 26170 42556 72953 34088 37912 35593 ...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Al...
result:
ok 100000 tokens
Test #16:
score: 0
Accepted
time: 45ms
memory: 34972kb
input:
100000 8890 84173 57834 27526 91726 32137 34516 95179 73048 34776 32702 13823 76225 54189 65100 2525 56456 44718 81334 32375 87614 5144 80902 51921 20807 96855 27518 94276 23551 66415 97744 41468 98355 68054 28484 51003 69860 5271 32309 76564 45576 55952 57652 60624 745 1332 80900 62156 26211 11915 ...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice ...
result:
ok 100000 tokens
Test #17:
score: 0
Accepted
time: 40ms
memory: 35040kb
input:
100000 92314 33017 38388 57004 16788 78209 30691 11871 7204 6254 93142 40862 76316 47918 35423 50442 4179 49173 12056 96616 84066 52921 88412 93600 34664 7063 21739 10625 37864 66285 73866 19035 40646 78782 30592 54115 4590 2641 86843 9778 18573 74066 23433 27783 58933 95120 27711 53696 16830 64573 ...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Al...
result:
ok 100000 tokens
Test #18:
score: 0
Accepted
time: 36ms
memory: 36976kb
input:
100000 8442 81862 51645 43377 66041 81178 35378 95859 74063 43140 86285 606 76406 74351 29938 98359 76093 29435 10074 69369 47815 76507 95921 67984 81225 17271 15960 35486 27984 66155 93092 29305 58745 54918 89597 16011 39320 56908 6784 67185 34674 35285 21918 62237 92930 56204 74523 77940 50552 930...
output:
Bob Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Bob Alice Alice Alice Alice Alice Alice Alice Alice Bob Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Bob Alice Alice Alice Alice Alice Al...
result:
ok 100000 tokens
Test #19:
score: 0
Accepted
time: 44ms
memory: 35056kb
input:
100000 59162 30706 89095 72855 15295 92659 98850 79847 8218 47322 46725 27646 85008 43888 261 46276 56519 1185 73500 33609 35755 56989 70726 9663 95082 68696 1669 93051 42297 66026 79614 48088 68332 98351 91706 86419 6753 54279 94022 57296 74966 53399 63507 20883 51119 17287 21334 69480 41170 45699 ...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Bob Alice Alice Alic...
result:
ok 100000 tokens
Test #20:
score: 0
Accepted
time: 35ms
memory: 35068kb
input:
100000 75291 79551 69649 35037 73060 38732 3537 63835 42374 18801 7164 95901 85099 3026 62072 94193 61138 81447 71518 30554 99504 4767 86748 8238 33131 78904 95890 9400 32417 33192 23032 25654 10624 74487 93815 81019 8779 84354 81259 90510 23771 71514 61992 88042 9308 35267 68146 61020 99084 74166 4...
output:
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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice ...
result:
ok 100000 tokens
Test #21:
score: 0
Accepted
time: 39ms
memory: 35036kb
input:
100000 58715 95691 74394 64514 89610 41701 75520 47823 9233 55687 67604 22941 85189 72563 65099 99006 8860 53198 69536 70603 95956 28352 94257 49917 12396 89112 90112 34261 14025 33062 42258 11732 96019 17919 28628 51427 76213 14429 44305 80621 31360 32732 27773 22496 76008 96350 14957 85264 89702 2...
output:
Bob Alice Bob Alice Bob Alice Bob 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 Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice Alic...
result:
ok 100000 tokens
Test #22:
score: 0
Accepted
time: 19ms
memory: 32652kb
input:
50000 37602 5821 18937 17048 28282 6697 16758 48765 10825 37381 42803 28953 14133 17286 24695 3690 49017 49907 3677 26654 22990 36922 49750 34585 23519 22299 42460 44532 14066 9090 29566 18910 36215 25644 12553 38408 46667 35295 48603 6224 12114 28406 5579 35226 6695 49420 41455 10681 2482 5670 2222...
output:
Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob ...
result:
ok 50000 tokens
Test #23:
score: 0
Accepted
time: 30ms
memory: 34952kb
input:
75000 69368 9489 17586 44364 4266 32962 12478 16170 30593 43673 92 41933 73256 28174 7660 27374 73303 37421 27185 62091 59065 26585 72510 16192 25549 13846 59767 67417 68531 28621 24368 15716 28743 30450 22997 67182 46567 72133 65220 40250 54371 53887 27565 2932 15340 39173 65694 59157 44516 50960 5...
output:
Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob ...
result:
ok 75000 tokens
Test #24:
score: 0
Accepted
time: 43ms
memory: 35036kb
input:
100000 5219 75364 28256 48243 4542 26210 61611 26686 86837 22422 47057 63718 75096 18437 80242 76515 4495 8516 8996 22517 97035 55579 45672 36323 30297 72241 51291 38279 29211 83262 40103 52547 18676 94259 18665 88416 52150 16020 38272 93635 63457 27980 23306 93702 91963 90123 98781 98792 54044 8828...
output:
Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob Bob ...
result:
ok 100000 tokens
Test #25:
score: -100
Wrong Answer
time: 1ms
memory: 5600kb
input:
1 1
output:
Bob
result:
wrong answer 1st words differ - expected: 'Alice', found: 'Bob'