QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#82906 | #2460. Musical Chairs | xiaowuc1 | AC ✓ | 11ms | 3488kb | C++17 | 1.1kb | 2023-03-01 02:52:18 | 2023-03-01 02:52:19 |
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: 2ms
memory: 3332kb
input:
4 8 2 4 2
output:
3
result:
ok single line: '3'
Test #2:
score: 0
Accepted
time: 11ms
memory: 3488kb
input:
10000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 ...
output:
8010
result:
ok single line: '8010'
Test #3:
score: 0
Accepted
time: 2ms
memory: 3344kb
input:
4 24 3 2 2
output:
1
result:
ok single line: '1'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3364kb
input:
4 7 5 3 7
output:
2
result:
ok single line: '2'
Test #5:
score: 0
Accepted
time: 2ms
memory: 3412kb
input:
2 2 2
output:
1
result:
ok single line: '1'
Test #6:
score: 0
Accepted
time: 2ms
memory: 3344kb
input:
10 11 10 9 8 7 6 5 4 3 2
output:
10
result:
ok single line: '10'
Test #7:
score: 0
Accepted
time: 1ms
memory: 3344kb
input:
10 21 19 17 15 13 11 9 7 5 3
output:
10
result:
ok single line: '10'
Test #8:
score: 0
Accepted
time: 1ms
memory: 3364kb
input:
10 41 37 33 29 25 21 17 13 9 5
output:
10
result:
ok single line: '10'
Test #9:
score: 0
Accepted
time: 2ms
memory: 3372kb
input:
20 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
output:
9
result:
ok single line: '9'
Test #10:
score: 0
Accepted
time: 2ms
memory: 3328kb
input:
20 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
output:
20
result:
ok single line: '20'
Test #11:
score: 0
Accepted
time: 11ms
memory: 3488kb
input:
10000 11811 77090 83191 8701 33242 22454 79082 58205 5277 8595 38479 63965 30575 67709 89579 59853 43644 90333 82350 43571 92549 86613 21310 99004 33057 8013 81761 8774 35885 30662 15945 36296 71250 2912 87941 11801 78898 91883 10918 26554 48086 58284 8915 15630 99557 33033 76758 34192 22352 37537 6...
output:
5687
result:
ok single line: '5687'
Test #12:
score: 0
Accepted
time: 11ms
memory: 3460kb
input:
10000 27082 44982 6131 4535 38552 53306 69512 9702 11493 1544 68795 56324 31903 43921 80769 80133 24608 40162 45695 93847 91727 63055 17768 40022 2694 55520 51633 41369 3397 81698 16064 52086 42358 79352 36070 33491 94671 54984 18818 70884 98550 27591 24227 95614 95079 6887 17828 93449 34655 47148 2...
output:
7131
result:
ok single line: '7131'
Test #13:
score: 0
Accepted
time: 11ms
memory: 3424kb
input:
10000 59089 73643 22109 27973 61701 68077 89002 44075 83060 46338 53884 79099 65417 35641 39326 14659 83170 55646 72650 54684 17060 62239 35036 15982 12465 37116 86492 89811 4994 23276 66108 29806 55243 46798 17899 29124 72384 46910 71780 25649 28694 57424 14908 78170 52698 61503 41886 42593 49847 3...
output:
6882
result:
ok single line: '6882'
Test #14:
score: 0
Accepted
time: 7ms
memory: 3452kb
input:
10000 15468 89335 2844 76931 15591 74509 35329 31949 35895 44575 14025 31031 89468 28413 8281 71009 52131 69384 87205 88410 65573 30069 86712 5079 57436 26554 76399 25522 69310 86035 66138 85033 95458 88346 7492 59546 27609 36404 73756 65574 13749 72189 43736 98166 27859 31248 29715 8688 31766 69497...
output:
9728
result:
ok single line: '9728'
Test #15:
score: 0
Accepted
time: 7ms
memory: 3436kb
input:
10000 71847 5028 83578 25890 64357 80941 81655 19824 88729 42812 69042 77839 13520 21185 82359 22237 26214 77998 6885 27261 14088 97898 33265 89052 97283 15993 71428 56109 38750 48794 66168 40262 35674 35018 91962 89969 77709 25899 75731 376 3926 92077 72564 18163 3021 95868 12421 69660 8561 99461 4...
output:
9551
result:
ok single line: '9551'
Test #16:
score: 0
Accepted
time: 9ms
memory: 3452kb
input:
10000 23103 25843 64313 74849 13123 87373 27982 12821 36442 41049 29183 24649 37571 13957 56438 78588 95173 91736 21440 66110 67724 70851 79818 73025 37131 308 61334 91819 3066 11554 66198 90367 81012 76566 81556 20392 32934 20516 77706 35178 88980 6843 1393 38159 73058 65613 250 35756 85355 24303 5...
output:
411
result:
ok single line: '411'
Test #17:
score: 0
Accepted
time: 11ms
memory: 3420kb
input:
10000 79482 41535 45048 23808 67012 98928 74309 696 89276 39286 89323 76580 66745 6729 25393 34939 64134 5475 35995 4961 16238 38681 31494 56999 82102 89746 56364 22407 67382 69189 66228 45596 21228 23239 66026 50814 83034 10010 74558 69979 74035 26732 30221 58155 48219 35357 82955 1851 62151 54267 ...
output:
1316
result:
ok single line: '1316'
Test #18:
score: 0
Accepted
time: 11ms
memory: 3436kb
input:
10000 30739 57227 25783 72766 15779 5362 20636 88569 36988 37523 44341 23390 90796 99500 99471 91289 38217 14089 55673 43810 64752 6511 78047 46096 21950 74061 46270 58117 36822 31949 71380 824 66566 64787 55620 81236 38259 4628 76533 9905 64212 46620 59049 78151 23381 5102 65660 67946 38946 84231 9...
output:
2149
result:
ok single line: '2149'
Test #19:
score: 0
Accepted
time: 7ms
memory: 3436kb
input:
10000 87117 78042 1395 21725 64544 11794 66962 76444 89823 35760 4482 70198 14848 92272 73550 47640 7177 27827 70228 82660 13266 74341 24601 30069 61797 63500 36177 88704 1138 94708 71410 50929 6782 11459 40091 6536 93482 94121 78508 44707 49267 61385 87877 98147 93418 69722 53489 28919 15741 9073 1...
output:
7120
result:
ok single line: '7120'
Test #20:
score: 0
Accepted
time: 11ms
memory: 3428kb
input:
10000 43497 93734 82129 70683 18434 18226 13289 64318 37535 33997 59499 22130 38899 85044 47628 98867 76137 41565 84783 16388 66902 42171 71153 14043 6768 52939 31206 24415 70577 57467 71440 6158 46997 53007 29684 36958 43584 88739 80483 79508 39445 81273 16705 18144 68580 39467 36195 95013 97659 39...
output:
3961
result:
ok single line: '3961'
Test #21:
score: 0
Accepted
time: 8ms
memory: 3488kb
input:
10000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 100000...
output:
1012
result:
ok single line: '1012'