QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#808275#8307. Club Assignmentrotcar08 TL 1666ms97916kbC++172.8kb2024-12-10 19:20:372024-12-10 19:20:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 16ms
memory: 91812kb

input:

2
3
1 2 3
3
5 5 5

output:

3
112
0
111

result:

ok accepted

Test #2:

score: 0
Accepted
time: 1376ms
memory: 91976kb

input:

2000
100
7 90 64 59 9 12 72 41 72 45 35 90 65 43 81 37 49 62 42 61 12 3 30 97 3 21 43 44 18 71 3 8 70 25 55 41 43 26 80 36 11 6 36 5 57 7 35 23 72 27 73 45 2 64 86 90 47 93 54 26 7 48 63 40 1 61 35 45 11 80 90 68 20 6 22 92 57 47 37 8 84 43 51 95 20 44 89 25 65 18 79 77 5 2 85 62 63 27 62 72
100
34 ...

output:

0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok accepted

Test #3:

score: 0
Accepted
time: 1666ms
memory: 90828kb

input:

200
1000
97 76 593 917 428 944 219 473 261 128 920 740 977 978 694 944 856 329 655 861 641 631 249 859 612 547 726 765 705 192 777 483 948 701 754 764 346 237 68 849 437 94 692 717 630 562 350 156 1000 511 27 594 394 866 475 914 90 578 830 561 977 454 676 291 920 240 107 298 451 175 490 545 718 835 ...

output:

0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok accepted

Test #4:

score: 0
Accepted
time: 1638ms
memory: 97916kb

input:

20
10000
7358 1871 8343 6135 4994 4079 3743 4186 527 4232 7581 7898 9666 8358 5102 125 2834 5982 8666 1280 5573 5739 3503 7360 4838 6780 8600 1007 1288 3064 3041 2499 773 4230 6504 7856 5525 3334 6103 3311 1226 6944 2435 2583 8520 7352 2368 3628 7223 9814 3860 7489 8326 5247 676 5151 2620 7377 7776 ...

output:

0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok accepted

Test #5:

score: -100
Time Limit Exceeded

input:

2
100000
218410698 619540136 204059004 828710620 433760707 858949452 56646112 343599233 518371279 912235738 799450998 326791937 997127468 922411567 674148810 889617381 91785714 334607795 359332260 175429017 274919417 819231450 913356616 280261257 637218211 804856990 65884496 965434998 482413448 3087...

output:

174
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result: