QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#503827 | #3881. Fighting Monsters | xiaowuc1 | AC ✓ | 6ms | 3760kb | C++17 | 1.8kb | 2024-08-04 01:32:29 | 2024-08-04 01:32:37 |
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: 0ms
memory: 3556kb
input:
4 1 12 67 8
output:
impossible
result:
ok impossible
Test #2:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
5 1 1 12 67 8
output:
1 2
result:
ok good solution
Test #3:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
6 1 5 6 7 90 8
output:
2 6
result:
ok good solution
Test #4:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
5 12 68 21 35 13
output:
5 3
result:
ok good solution
Test #5:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
10000 267404 832187 117646 191826 170633 10822 421473 606757 68750 909499 738501 466675 711368 250683 787197 622011 125537 356009 926359 814608 821297 725164 916948 456049 834515 405722 97957 220263 256744 576431 660298 220522 726920 717330 263659 202711 900538 85666 508435 536256 823492 93100 47413...
output:
impossible
result:
ok impossible
Test #6:
score: 0
Accepted
time: 3ms
memory: 3580kb
input:
100000 373158 903907 763379 199562 248277 550874 525385 856517 848217 898072 436410 206730 447889 278963 501305 328519 720893 354203 98333 901685 450258 338631 349739 845599 993742 607198 846240 84337 193825 529295 653126 711720 791236 946666 262692 302741 962202 266341 306299 453958 315604 476115 6...
output:
77710 9572
result:
ok good solution
Test #7:
score: 0
Accepted
time: 6ms
memory: 3564kb
input:
100000 710948 248995 876231 836597 889158 42875 950910 748015 360253 341345 546580 675627 626810 876530 226305 33230 648135 781868 954602 882221 248171 552632 227008 859292 24847 298263 26444 411070 821939 618090 146902 224313 545104 771526 673970 966264 285463 408327 753594 195804 732160 608868 553...
output:
impossible
result:
ok impossible
Test #8:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
1000 6360 7290 6119 4622 5650 5310 8786 8457 6176 4480 6377 459 716 6494 7174 2429 6073 1573 7625 411 5761 1877 8610 7565 4608 2188 2649 8638 1675 9328 7743 5877 2248 2265 5632 2231 6437 9152 2768 8841 8668 8250 8464 8094 2326 9286 8631 2787 9357 3108 3994 8838 5127 4105 4746 9218 3131 9901 2129 178...
output:
impossible
result:
ok impossible
Test #9:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
1000 4266 3414 4658 522 9008 6022 5290 5526 8570 9032 1502 884 9167 277 9854 3822 5513 8057 7480 9974 267 3711 3593 8231 5289 1162 5101 2810 8049 2025 1358 6404 6483 6598 2912 1094 8987 4010 4276 7564 9048 9123 3618 4281 5960 3156 4991 5938 6309 6295 2505 2903 7288 9959 6717 6826 2319 3283 4114 7859...
output:
595 896
result:
ok good solution
Test #10:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
1000 6852 4249 6374 1 1513 6757 1298 2586 9517 9888 8085 9914 5700 6555 4453 8727 8020 3367 6136 4449 9507 8810 6020 7992 9927 7872 2458 7631 8755 5209 4249 1333 8195 5892 7432 2115 9096 4739 7495 8202 4592 4460 7598 8645 1233 2854 6899 9778 9208 8982 3323 5352 2676 8346 8609 4307 856 9770 7255 1129...
output:
4 159
result:
ok good solution
Test #11:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
5 55 12 12 29 48
output:
impossible
result:
ok impossible
Test #12:
score: 0
Accepted
time: 4ms
memory: 3760kb
input:
100000 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3...
output:
impossible
result:
ok impossible
Test #13:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
20 441 643 962 729 610 240 403 406 187 829 105 757 827 826 630 377 183 583 863 976
output:
16 5
result:
ok good solution
Test #14:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
20 254 128 384 859 991 676 648 306 341 756 949 799 690 290 383 247 441 716 889 601
output:
impossible
result:
ok impossible
Test #15:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
100 9135 2366 2724 4277 1204 6426 3447 8334 1074 7682 6723 2707 5543 9543 2561 6849 3878 5440 1298 9064 9362 6534 6348 728 2280 1613 8771 1868 6129 4541 8737 7809 5351 801 5416 7235 5224 673 2456 1371 9962 3309 9844 3186 2197 6766 5924 7318 1985 4805 7649 105 4367 802 2857 4437 4289 213 4404 948 809...
output:
89 78
result:
ok good solution
Test #16:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 1360 3208 8496 3913 1566 8826 7223 3162 7226 2012 9630 4334 2728 2570 8127 5808 2622 3369 1630 8185 5867 2353 116 1173 5431 3027 5562 9264 345 4143 9049 9814 4262 1117 2741 3706 3121 5501 5409 7117 4057 8655 8853 8042 7823 6739 8660 3350 9038 5163 334 3388 3073 4123 4657 3205 7438 6194 6451 8363...
output:
impossible
result:
ok impossible
Test #17:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
1000 766922 992693 851181 237606 284218 703701 720957 20477 2775 330858 530899 980821 868106 255401 90224 872592 945980 357038 646376 374363 608337 404376 855465 790027 831789 110946 37843 7829 565972 203638 170066 617877 216463 586979 651872 775567 437529 707338 818445 86754 546059 126011 813204 25...
output:
648 462
result:
ok good solution
Test #18:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
1000 337821 201753 867511 913957 167970 93042 183150 745775 184962 412051 761217 411769 276273 190657 671901 278298 846521 662389 876557 732012 128878 199829 101518 669055 490487 108123 67105 663389 170915 496405 835249 852014 569447 313420 830670 774158 195503 237624 151459 814983 309359 866093 605...
output:
impossible
result:
ok impossible
Test #19:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
10000 249186 580938 183186 471542 278548 824855 958084 272743 320551 111055 617513 830566 940203 449362 436486 502451 261679 443948 303015 85689 251404 486278 689669 618624 905821 970769 943408 187425 942896 857013 551005 764000 404617 975194 217333 107721 700810 476355 568484 939161 269712 794218 5...
output:
4810 1673
result:
ok good solution