QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#85502#5689. 喵了个喵 IIconzloiTL 1413ms408844kbC++173.2kb2023-03-07 20:13:522023-03-07 20:13:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 505ms
memory: 390124kb

input:

50000
12725 41478 2443 1096 36968 36898 3393 45898 43154 26629 22985 37972 13935 25628 40196 40293 39791 29109 455 45812 12634 21086 8928 13600 25416 30244 15917 22568 35849 40189 27442 28785 46334 25651 7172 30994 39724 27853 47091 21306 42087 31612 22081 23002 17127 15269 11569 8254 41080 30112 31...

output:

Yes
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok correct

Test #2:

score: 0
Accepted
time: 555ms
memory: 393444kb

input:

50000
39298 39298 14319 14319 11620 11620 20424 20424 14345 14345 28478 28478 11587 11587 25545 25545 24607 24607 18203 18203 30593 30593 144 144 2117 2117 14201 14201 27012 27012 20683 20683 39367 39367 7902 7902 12365 12365 17601 17601 29145 29145 15133 15133 47765 47765 22205 22205 13706 13706 20...

output:

Yes
01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101...

result:

ok correct

Test #3:

score: 0
Accepted
time: 535ms
memory: 345796kb

input:

50000
21684 21684 49246 49246 20339 20339 12374 12374 25130 25130 30869 30869 21854 21854 19251 19251 24016 24016 4812 4812 13915 13915 14386 14386 33943 33943 43449 43449 16175 16175 29984 29984 4712 4712 48795 48795 952 952 3589 3589 34274 34274 12915 12915 6840 6840 23436 23436 15670 15670 3873 3...

output:

Yes
01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101...

result:

ok correct

Test #4:

score: 0
Accepted
time: 1314ms
memory: 406424kb

input:

50000
236 236 32031 707 41062 32031 37516 21446 707 41062 37516 21446 26170 44004 47187 26170 9742 44004 47187 9742 14845 835 14845 43803 4270 835 43803 4270 44275 22853 44275 45825 5286 8810 10767 49050 26809 22853 36108 45825 46063 5286 6289 5206 8810 24938 33324 48973 10767 49050 49412 19286 4152...

output:

Yes
01000100111100010111001001110010000001010100100011000001111110011100000001110011100001110110000000000101011101010101110101100111101000001100011110000011110011110010100001110001100001111000011001110110011100110011000000111000000110101010000101011111010100111011101111101000110000001100110100101100...

result:

ok correct

Test #5:

score: 0
Accepted
time: 1355ms
memory: 407888kb

input:

50000
31692 10868 8109 34968 86 31692 10868 8109 445 38569 31022 34968 86 445 38569 37143 31022 34848 37143 34848 16972 16972 49187 4897 3916 2354 45320 49187 4897 3916 2354 12356 45320 30732 12356 30732 43451 43451 32288 32288 46985 46985 12183 12183 48726 48726 32168 32168 16071 16071 33304 33304 ...

output:

Yes
00000111000111101011010000011110101101010101010101010101001010100110110101000000101101100010001111100101101100111100100100010010101111101100100010011001111001000011111101010010110001110100110100000001101000110001100011101100011011000100011111010000111110011001001001000110001011010111000001000000...

result:

ok correct

Test #6:

score: 0
Accepted
time: 1337ms
memory: 406508kb

input:

50000
47495 24797 47495 24797 15994 5403 31166 15335 15994 5403 31166 14675 15335 37320 14675 13007 37320 1837 13007 1837 39037 9932 39037 20263 9932 22331 28895 28737 30264 20263 22331 28590 38050 29802 10883 28895 27990 21537 28737 30264 39689 24549 29304 10917 45017 31830 28590 38050 29802 10883 ...

output:

Yes
00110000111010101011001010000110000100110000001111010011000010100111010110111111001010000111111001010010001010110100111001000101001110010110011101011101011000111010111101010011000110001100100011001011110101010011010101110100011011001100100110001001001010101010000111000101010001000010001100011001...

result:

ok correct

Test #7:

score: 0
Accepted
time: 1284ms
memory: 406332kb

input:

50000
18102 43117 27415 37524 18102 16822 16312 43117 7789 27415 45334 23016 37524 31793 16822 49363 16312 7789 6418 20049 21563 45334 23016 37890 9126 3903 1480 31793 986 34399 12516 49363 6418 8156 20049 29819 21563 37890 9126 3903 47923 36627 32199 1480 3828 18134 986 26441 34399 12516 43272 8156...

output:

Yes
00001001010010101100011000010001101011110001001011011001111010011110010011010010010110011100110110001001111011011011001101010100010110000110111100001111000011000011100110110111000010101101100010010011000101011100011101011100111100011100110100101100100010011101001011101100001011000110000011000100...

result:

ok correct

Test #8:

score: 0
Accepted
time: 1340ms
memory: 406068kb

input:

50000
38285 37031 26462 658 38285 37031 16051 16770 26462 4681 658 11899 16051 25086 38746 2671 16770 4681 11899 44009 47963 25086 38746 28318 2671 5587 44009 47963 30860 14523 28318 5587 30860 7840 22642 14523 7840 22642 1032 44497 1032 49925 44497 49925 21149 21149 20159 44895 20159 44895 30921 52...

output:

Yes
00001100101010001110011010110011100111001011010011000000011000100101001101110010100111010000000100100110101000001110110101010011000001100100110010010001101110011101110000100110011001000111100100000100011011010001100101110110110010011100001111110100000011110000111011001001110000000101001000001011...

result:

ok correct

Test #9:

score: 0
Accepted
time: 1312ms
memory: 406908kb

input:

50000
30092 33668 30092 3700 46771 33668 42373 48152 31960 810 4068 3700 46771 42373 48152 45408 31960 810 30681 18130 13049 4068 45408 17941 4482 49474 42117 30681 18130 13049 22624 21743 31487 17941 4482 42647 49474 42117 22624 25169 9715 21743 394 31487 42647 25169 5269 43799 9715 12047 394 5269 ...

output:

Yes
00100100000111101100011000011100011011100101110010110111010101001011001011010000110111010100010001111100100111010100100100101011110100110101010101010011000111001010000001010101110101001100100111010101110110110011010010011101000110110001101000010101111001011011010010100010000001111010001001111100...

result:

ok correct

Test #10:

score: 0
Accepted
time: 1346ms
memory: 407812kb

input:

50000
38813 25500 1580 38813 25500 1580 14884 47511 14884 12186 39074 5417 10487 43546 47511 12186 39074 5417 38290 38378 45431 13743 14877 3993 10487 4183 30835 15261 15132 42200 43546 7557 1705 42396 38290 38378 22975 38295 45431 13743 21729 13147 14877 5079 22717 32500 14147 3993 4183 30835 19779...

output:

Yes
00011100100000111100000010000010001100110010000111010110101101101100101011100111100111011101110011000001010000011000000100011101000011010010100000000010100001010110110110011110100100101101100110001111110000000000011011000110000111101111001010101111100010101011110101101001100110010000011001100110...

result:

ok correct

Test #11:

score: 0
Accepted
time: 1314ms
memory: 407848kb

input:

50000
23978 23978 2638 2638 29521 4576 29521 4576 36584 36584 21016 21016 7450 7450 40155 28489 8579 40155 3704 28489 8579 3704 2013 2013 5333 31328 9858 5333 31328 30056 23988 6920 9858 39214 30056 24719 23988 6920 39214 24719 10989 10989 29143 44716 29143 5803 44716 5803 5120 5120 41582 41582 4857...

output:

Yes
01010011010101000101110100011000101011110100101101010100110101010011001010001101001000110000000000100101100001000010100000100100010110101111111010110001110010010101110111010111001110011001100110010111011110011100100011111000010110101000101000101011111100101011101001011110000000110100001011100011...

result:

ok correct

Test #12:

score: 0
Accepted
time: 1322ms
memory: 407552kb

input:

50000
31346 31834 31346 31834 13746 13746 9736 21124 20061 36300 9736 21124 20061 44739 36300 26728 22196 44739 18472 34047 8056 29591 26728 22196 30114 25453 18472 34047 8056 39198 29591 30114 42946 25453 20436 45094 39198 36609 42946 42715 31802 36623 9880 20436 45094 27959 36609 42715 27673 35798...

output:

Yes
00110100001110100100001100111011010010100001101100011110010000111111001001001010010010110011100101111100010101110110110010001000010010010011010101010001100011110111111001100010101110001011101100111011010100001010110000010100110010011011011111100001100100000111110111101100110000101001001101010100...

result:

ok correct

Test #13:

score: 0
Accepted
time: 1289ms
memory: 407520kb

input:

50000
21602 21602 17711 17711 1336 9892 21347 1336 9892 21347 42549 42549 19829 32985 19829 32985 37952 37952 17321 17321 46808 29204 46808 12625 1774 29204 14426 12625 25228 7508 16907 29443 43763 1774 14426 25228 7508 16907 29443 10624 8495 28232 43763 35101 39874 26321 10024 39335 24954 20099 226...

output:

Yes
01010001110100110101001001010000011111100010000000011100010111110000001100111101011101000001100000100000000111111110011000001100010110110111011011010110000010010110101100001010000111110000100101010100011000001001111111110110001011000110001001100110101101001001000000000000011001011100000000001100...

result:

ok correct

Test #14:

score: 0
Accepted
time: 1276ms
memory: 407740kb

input:

50000
49075 37727 49075 37727 1785 1785 33945 18330 33945 18330 19044 18851 19044 18851 39898 39898 47520 46740 47520 46740 95 95 47564 12232 28128 47564 12232 34087 21888 15824 28128 16042 34087 21888 44039 3592 35353 16119 15824 16042 44039 7847 3592 44978 35353 7768 1508 16119 7847 44978 23734 77...

output:

Yes
00110100110011010011010001100010110000111010100111011000011001010010000001000011110011011010110100001100111010010101111111010001010111000111001011001100100110011011001100000001010110111001000001110110110000011100010111010010101101000011111000100101010100111110011000101100111110111001011010001011...

result:

ok correct

Test #15:

score: 0
Accepted
time: 1325ms
memory: 408200kb

input:

50000
18759 35198 10445 18759 33195 35198 927 10445 33195 927 2106 2106 26788 26788 35465 35465 4269 4596 43614 3774 4269 4596 43614 3774 45081 204 16968 45081 3696 26616 11647 204 45098 2125 16968 14595 3696 26616 11647 45098 10517 9389 7065 2125 30441 14595 10517 13069 41328 18899 36480 36118 1243...

output:

Yes
00010101110101010000111100010001001011110001011000000011101010101011010001110101100000011010100111000111011111000001010110111010111110100101110100110011000000011110110111001100110100100000101111001000001100001001101111111101001010101111001011000111010011010101010001001111000011100000101010011101...

result:

ok correct

Test #16:

score: 0
Accepted
time: 1306ms
memory: 406236kb

input:

50000
25145 48896 25061 25145 48896 25061 47844 47844 24843 24843 48820 48820 34491 37095 34491 25058 37095 26571 25058 46411 42396 16920 26571 46411 42396 4180 48738 13968 32764 25005 16920 20170 4180 48738 16659 13968 32764 25005 20170 16659 48870 48870 43429 43429 43286 43286 23963 23963 1537 460...

output:

Yes
00011101010100101010001110000010110111110101010100001001110110110001101101000110010011110100100101101001000110100011111100110101010010100111010101010100001000001110100001001000110001111100100000100000001001010001010101111110001101010100110111010010110010111000111001010100111010110011000110110000...

result:

ok correct

Test #17:

score: 0
Accepted
time: 1375ms
memory: 406760kb

input:

50000
40452 40452 7158 7158 671 671 2105 33633 2105 36571 33633 37070 26129 41921 36571 31194 37070 6560 26129 27965 21363 41921 31194 31861 6560 27965 21363 31861 37510 37510 7918 30320 7918 30320 8949 8949 26122 26122 19380 19380 29956 29956 24678 37988 24678 37988 155 24638 155 5689 24638 5689 25...

output:

Yes
01010100101000101010011011110100110101010100110010110001110101001010100011100110100110010001111001110101000101000000000001000000011101000001111101110000110001101110110000110011000000011011100101000010100000010011100011000101110100111011011101100110100111100100111001010011100110000110010110101110...

result:

ok correct

Test #18:

score: 0
Accepted
time: 1412ms
memory: 407756kb

input:

50000
41221 26987 1917 41221 26987 1917 21556 21556 49630 4083 49630 4083 40384 40384 9087 48389 9087 31801 5543 48389 20377 31801 5543 20377 39518 18138 39518 48446 31767 18138 48446 31767 29011 29011 27948 27948 39077 3939 11093 4611 30268 25500 27819 8217 47669 39077 3939 11093 4611 48119 41266 4...

output:

Yes
00011101001101001001011100100111010100000000011110000110111111001010011110100100010011101010001001000110110111010100111110101101010100110001101100101011000100100101011000101010110000001010011010000100100011111111010100101110100000011111011101110011110100011010101001011010100001001011010011001011...

result:

ok correct

Test #19:

score: 0
Accepted
time: 1413ms
memory: 408720kb

input:

50000
2744 2744 26477 35367 2307 16354 26477 35367 2307 16354 29861 26809 29861 26809 17333 17333 14575 6961 14575 6961 14631 36275 14631 6348 36275 39790 6348 7436 49842 38469 1907 29058 39790 7436 38281 18879 49842 38469 1907 29058 39703 6524 13380 9471 3521 43918 38281 18879 39703 20894 6524 2626...

output:

Yes
01000011110011010011001010100000110011110000001110100101111101101001110010011001001011110100011101010100100110011010011011010000110000101001100010101010101000101110000111100101100001111101110100100000111011011010010111111101000001110011100000100110011111001010110000100111010110001011010001001000...

result:

ok correct

Test #20:

score: 0
Accepted
time: 1385ms
memory: 408844kb

input:

50000
19459 19459 3055 41047 3055 41047 18463 18463 21521 21521 21820 21820 42326 48657 42326 48657 48799 30660 48799 30660 29800 23740 29800 40300 30988 21885 23740 40300 30988 39161 32819 47399 6419 21885 39161 10494 32819 47399 6419 10494 7804 19481 7804 39347 10434 19481 39347 11728 10434 16163 ...

output:

Yes
01001101010100110011001000111000011011110010011010100001111010110000101101110000100011110111010101001101010100011101010010110000111100110101000011101100110101000011101000000101101010110011101000010011011000001001111011011111100110000000110101101000010100101101000111011101000101001101000100110100...

result:

ok correct

Test #21:

score: 0
Accepted
time: 1366ms
memory: 407976kb

input:

50000
20607 47291 20607 47291 24451 1207 24451 8320 22320 1207 3819 8320 22320 3819 33165 14167 38195 33165 5378 37269 24490 45444 14167 49019 38195 20063 5378 37269 9217 24490 45444 2203 49019 20063 13016 16716 9217 15611 2799 2203 13016 16716 43922 15611 2799 30659 43922 30659 8669 8669 19582 3062...

output:

Yes
00110010010111000100001010110110110010011101101101001011010010001010000111101001101111010100011100110001011001001111010010100001101111010100110101001101010101001100101010110100001101100011001010011110110101001001101101010101010100110000101110110001011101010100010010011010001110000111011111010010...

result:

ok correct

Test #22:

score: 0
Accepted
time: 1339ms
memory: 407560kb

input:

50000
33568 39530 33568 22289 39530 22007 4556 8684 22289 2474 17464 22007 4556 8684 38915 2474 17464 4338 38915 4338 29070 29070 45861 18402 45861 4910 18402 5764 16945 34402 4910 5764 11912 16945 34402 30477 25992 10671 45761 11912 976 30477 28638 25992 10671 43856 45761 976 38000 34527 33415 2863...

output:

Yes
00101000100111011011010010100011011000010101101100010000001011111011101100001100110100101111000010101100010001100111011100101110101010010001110000000011011000110011000100110010011111111110000011011111101110110010000110101111010011000111001001000100110111011101010000010101110110100101100100000001...

result:

ok correct

Test #23:

score: 0
Accepted
time: 1346ms
memory: 406380kb

input:

50000
36900 48126 36900 4308 48126 4308 20511 38778 28918 20511 15106 38778 29228 28918 9146 15106 25045 29228 9146 25045 27858 27858 47458 49063 47458 49063 41661 41661 46866 46866 37796 37796 13337 4587 13337 4587 14017 14017 32433 25670 15905 32433 25670 28321 36850 15905 28321 36850 45952 45952 ...

output:

Yes
00101100010101010111010011010101001101000110011101010011001000101100100010110011111010100100000011001011100110000100100011100111010111011011010001001110101100011000101001000110011010001111000011101111100111100111000111100010001111110010110100100101000000000110101011111010111010101100010110110100...

result:

ok correct

Test #24:

score: -100
Time Limit Exceeded

input:

50000
29874 38453 44698 30849 23291 49907 16851 41602 40126 17244 14211 1362 31761 35542 48273 25556 24391 10438 1588 41143 30011 36364 29725 21136 36539 5124 35937 16945 49982 47936 36950 11592 39434 6639 19424 10470 4458 11586 24370 28884 11935 23500 14781 23478 24205 24147 5630 37214 29047 3946 3...

output:


result: