QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#485054 | #7690. A Pivotal Question | ZhangYiDe | AC ✓ | 38ms | 19300kb | C++17 | 808b | 2024-07-20 11:03:08 | 2024-07-20 11:03:08 |
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: 7648kb
input:
10 1 11 8 13 53 20 63 99 79 94
output:
3 1 13 63
result:
ok single line: '3 1 13 63 '
Test #2:
score: 0
Accepted
time: 0ms
memory: 7940kb
input:
3 9 8 7
output:
0
result:
ok single line: '0 '
Test #3:
score: 0
Accepted
time: 1ms
memory: 7712kb
input:
3 7 8 9
output:
3 7 8 9
result:
ok single line: '3 7 8 9 '
Test #4:
score: 0
Accepted
time: 0ms
memory: 7600kb
input:
2 1 10
output:
2 1 10
result:
ok single line: '2 1 10 '
Test #5:
score: 0
Accepted
time: 0ms
memory: 7904kb
input:
2 10 1
output:
0
result:
ok single line: '0 '
Test #6:
score: 0
Accepted
time: 0ms
memory: 7592kb
input:
1 5
output:
1 5
result:
ok single line: '1 5 '
Test #7:
score: 0
Accepted
time: 0ms
memory: 7928kb
input:
1000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
1000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
result:
ok single line: '1000 1 2 3 4 5 6 7 8 9 10 11 1...91 92 93 94 95 96 97 98 99 100 '
Test #8:
score: 0
Accepted
time: 38ms
memory: 19300kb
input:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...
output:
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
result:
ok single line: '1000000 1 2 3 4 5 6 7 8 9 10 1...91 92 93 94 95 96 97 98 99 100 '
Test #9:
score: 0
Accepted
time: 1ms
memory: 7688kb
input:
8629 1000000 999999 999998 999997 999996 999995 999994 999993 999992 999991 999990 999989 999988 999987 999986 999985 999984 999983 999982 999981 999980 999979 999978 999977 999976 999975 999974 999973 999972 999971 999970 999969 999968 999967 999966 999965 999964 999963 999962 999961 999960 999959 ...
output:
0
result:
ok single line: '0 '
Test #10:
score: 0
Accepted
time: 1ms
memory: 7652kb
input:
7 1 13 14 12 9 10 15
output:
2 1 15
result:
ok single line: '2 1 15 '
Test #11:
score: 0
Accepted
time: 1ms
memory: 7912kb
input:
200 2994 439 13261 15624 23999 21615 27867 31415 53627 39685 67510 69636 76067 72133 77816 83472 102088 94245 110136 116515 128251 126805 131981 138705 144831 144653 145179 149040 151282 149184 151644 155217 161102 157117 182011 183987 219513 211125 219773 226617 238846 230762 247277 251058 266101 2...
output:
100 13261 15624 27867 31415 67510 69636 77816 83472 110136 116515 131981 138705 145179 149040 151644 155217 182011 183987 219773 226617 247277 251058 277818 281579 294158 306836 323012 323784 337751 343065 355304 358699 370563 372238 383658 386989 393063 395080 417377 418215 429508 430592 438303 447...
result:
ok single line: '100 13261 15624 27867 31415 67...83 964675 964925 981525 994799 '
Test #12:
score: 0
Accepted
time: 1ms
memory: 7648kb
input:
400 2514 1146 3425 6196 9023 7403 11871 13129 17500 18166 17767 22717 17916 18746 24163 19372 28591 32225 28698 35369 42575 39931 43681 51820 58102 54128 67786 61682 68902 71424 71702 70144 73253 81187 77313 92092 92539 96099 96966 99926 97655 106937 106933 119373 124238 146214 118056 127759 155126 ...
output:
100 3425 6196 11871 13129 17500 28591 35369 43681 51820 68902 73253 92092 92539 96099 96966 155566 162032 170449 184428 186349 191986 208070 210033 212763 221073 221681 255050 260842 262369 267457 267467 273030 277608 287157 299046 300967 312400 313379 316643 347463 347596 347896 349425 355734 37027...
result:
ok single line: '100 3425 6196 11871 13129 1750...69 964820 973537 978240 997498 '
Test #13:
score: 0
Accepted
time: 1ms
memory: 7908kb
input:
400 1078 15202 2687 9446 20243 18437 20049 21263 21119 22072 25873 30085 31865 30720 31675 37345 49431 37155 51589 51291 54755 54511 53049 57210 58147 61852 64986 64743 59858 63287 71132 72615 71888 74408 82972 77240 88207 90010 78978 96309 97129 104953 87838 99040 109060 113764 117178 118522 121015...
output:
137 1078 22072 25873 30085 57210 58147 71132 74408 109060 113764 117178 118522 128489 146173 149865 158924 161422 161594 163893 197235 198729 198952 224902 227032 227972 239275 243531 246511 247279 247456 251400 255533 256509 260530 278908 287855 288012 333423 337861 338884 361449 363273 364699 3662...
result:
ok single line: '137 1078 22072 25873 30085 572...93 770339 781188 796552 806082 '
Test #14:
score: 0
Accepted
time: 1ms
memory: 7948kb
input:
500 3151 7379 5186 8532 7571 12643 8080 12549 12895 14242 14693 16938 27372 15611 24062 20695 20703 27181 27883 32696 38989 35870 33920 43328 39204 40759 47286 48176 49930 50021 57007 60025 70249 59310 74591 71629 72206 77305 74928 78023 80558 81959 82919 83524 90461 88658 93966 84540 90741 97673 10...
output:
125 3151 12895 14242 14693 27883 32696 47286 48176 49930 50021 57007 78023 80558 81959 82919 83524 97673 105273 107935 113966 116632 134766 152666 153546 157713 158625 163191 178522 187890 188011 190457 214883 216349 224689 225120 228475 260599 262733 262864 265676 271025 277817 279005 290884 327864...
result:
ok single line: '125 3151 12895 14242 14693 278...42 785743 786297 789833 805458 '
Test #15:
score: 0
Accepted
time: 1ms
memory: 7920kb
input:
500 1440 5511 7158 9002 10162 15723 10896 20537 21509 23901 30679 30026 28040 31135 31949 35568 33439 36711 38542 38293 41831 45976 50576 50695 50717 54059 57394 56454 57832 59414 62571 62424 62995 63958 68083 72201 68975 77848 81125 73065 79757 81174 76021 82637 89449 92755 100105 89806 96094 98470...
output:
143 1440 5511 7158 9002 10162 20537 21509 23901 31135 31949 36711 41831 45976 50576 50695 50717 54059 57832 59414 62995 63958 68083 82637 89449 103707 144037 147289 148483 151344 151962 157851 161670 162463 170728 176969 177367 178727 181329 185722 192760 196625 196723 197192 198305 198341 199779 20...
result:
ok single line: '143 1440 5511 7158 9002 10162 ...11 554552 555837 559057 567514 '
Test #16:
score: 0
Accepted
time: 1ms
memory: 7656kb
input:
500 6881 6145 9017 8520 11010 20177 18610 22045 22307 22728 28143 25885 29912 28846 30665 34326 35518 33224 40908 35664 47427 45879 58588 38702 49893 60398 61121 61622 60384 61617 68256 65169 69997 66361 73921 79040 71522 83044 86202 88064 84602 89923 85903 93391 90660 93112 93826 97687 97661 95911 ...
output:
125 11010 22045 22307 22728 30665 83044 93826 98256 99882 119829 149720 156300 157007 158012 162052 162109 178984 184015 184886 185938 194873 195749 196774 204882 206775 207595 239984 267545 271089 284588 284814 290445 290745 300940 312869 330593 336342 350775 359932 359953 366883 368152 368809 3731...
result:
ok single line: '125 11010 22045 22307 22728 30...10 808628 809049 809203 811126 '
Test #17:
score: 0
Accepted
time: 1ms
memory: 7656kb
input:
500 7174 1916 6561 15975 22391 10458 18715 19367 23097 24553 29353 25015 27669 33207 30097 35290 39307 36227 35724 39473 37668 40498 44155 45653 46005 52464 51366 46859 60504 52466 54558 52885 63166 68423 67198 66147 71580 69820 74656 77790 76823 82202 85125 85843 86600 88282 88217 88839 88834 90075...
output:
142 23097 24553 35290 40498 44155 45653 46005 63166 74656 82202 85125 85843 86600 90075 106506 113472 113667 119958 120222 120835 121933 125803 129759 132004 133508 135804 149163 150152 150829 154264 162204 162731 189077 190321 195933 198305 206449 209864 210120 217950 252506 253955 254769 256480 25...
result:
ok single line: '142 23097 24553 35290 40498 44...77 657613 661614 668785 671049 '
Test #18:
score: 0
Accepted
time: 1ms
memory: 7708kb
input:
400 48 2094 1486 2466 5628 6293 5860 7860 9392 9853 13307 18931 13967 14653 17056 23637 30460 23334 24187 33730 31111 33259 43141 42448 47637 46715 46696 50730 53351 53539 55509 57986 61621 62597 74520 63791 82316 65025 86765 84188 92125 89545 87198 94935 97061 99673 95501 102941 107710 101043 10318...
output:
94 48 2466 5628 7860 9392 9853 13307 50730 53351 53539 55509 57986 61621 62597 94935 109112 109758 115621 157444 166157 186192 216544 257417 283189 299436 304596 319057 328231 342971 345680 372388 374862 376146 383787 385754 398418 399643 469755 491797 500871 517172 524832 537149 541165 541947 54311...
result:
ok single line: '94 48 2466 5628 7860 9392 9853...19 975771 988656 991021 991498 '
Test #19:
score: 0
Accepted
time: 1ms
memory: 7916kb
input:
500 1296 31 295 2072 4003 1470 19808 12835 14840 10451 21861 25934 25954 27190 29962 30801 28896 42599 43672 49578 44388 50048 51306 53069 54533 55476 53209 54640 55657 58595 56073 65390 65489 65708 67488 68307 66542 70639 70681 68309 73200 74156 74043 74188 74360 74368 75855 76563 88998 79249 88610...
output:
157 21861 25934 25954 27190 42599 43672 50048 51306 53069 55657 65390 65489 65708 73200 74188 74360 74368 75855 76563 106217 116063 119638 120605 134480 135043 136335 140201 140490 142962 142971 143757 173219 174377 178736 184977 188399 190218 192258 196717 196759 200811 205417 219655 220838 222941 ...
result:
ok single line: '157 21861 25934 25954 27190 42...93 619827 627867 629985 637565 '