QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#505605 | #3441. Bank Queue | xiaowuc1 | AC ✓ | 102ms | 44600kb | Java8 | 2.2kb | 2024-08-05 06:24:09 | 2024-08-05 06:24:09 |
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: 30ms
memory: 38872kb
input:
4 4 1000 1 2000 2 500 2 1200 0
output:
4200
result:
ok single line: '4200'
Test #2:
score: 0
Accepted
time: 37ms
memory: 38192kb
input:
3 4 1000 0 2000 1 500 1
output:
3000
result:
ok single line: '3000'
Test #3:
score: 0
Accepted
time: 40ms
memory: 37840kb
input:
3 10 100 0 200 1 300 1
output:
500
result:
ok single line: '500'
Test #4:
score: 0
Accepted
time: 43ms
memory: 37492kb
input:
47 6 87414 0 27115 0 68729 2 61461 0 52966 4 44731 3 75220 3 20857 1 48017 0 25570 3 51621 5 59705 3 31782 4 48883 3 37218 4 95661 1 64715 3 32821 3 98147 4 44125 0 60446 0 35489 0 39727 4 85570 0 75021 1 40832 5 85330 4 58045 2 41802 3 92574 3 11205 1 93219 1 19184 3 49186 4 55463 4 920 1 42118 1 9...
output:
519635
result:
ok single line: '519635'
Test #5:
score: 0
Accepted
time: 37ms
memory: 38488kb
input:
32 3 12325 1 96670 0 63588 0 47897 0 81009 2 4633 2 44987 1 1334 1 70320 1 95606 2 99731 0 71502 2 8355 0 34787 0 47965 2 77851 2 4247 1 80163 0 18856 2 17637 2 52880 2 97296 0 90348 1 37441 2 83461 2 23936 1 56436 0 2211 1 85475 1 26599 0 6138 2 42199 2
output:
285685
result:
ok single line: '285685'
Test #6:
score: 0
Accepted
time: 55ms
memory: 38284kb
input:
579 22 90977 4 43614 12 73917 4 37230 21 82133 8 54360 14 34165 12 81700 21 35095 17 33970 3 7205 15 17629 0 74763 7 29118 19 59161 6 60687 18 81431 10 96345 12 81243 8 2167 15 61617 15 31720 9 9453 15 8722 6 8278 1 47518 16 11548 9 89105 11 602 14 20970 0 40414 11 567 1 12488 13 53736 13 28490 15 4...
output:
2138676
result:
ok single line: '2138676'
Test #7:
score: 0
Accepted
time: 53ms
memory: 38752kb
input:
910 19 97221 17 49847 15 30477 4 32938 6 91648 7 9168 6 32158 3 69335 0 78876 5 68768 18 43412 17 80061 14 82112 12 72481 8 71149 11 24450 5 24010 0 93285 15 9115 3 82942 0 17648 16 96894 12 81482 10 8806 2 93014 6 87900 11 83181 14 28845 14 21049 3 34292 15 90504 18 47574 1 87262 4 91160 15 13747 1...
output:
1877285
result:
ok single line: '1877285'
Test #8:
score: 0
Accepted
time: 50ms
memory: 39092kb
input:
467 6 31635 4 35077 5 7287 4 51926 0 30504 0 49087 0 67930 2 97778 3 67243 2 49930 4 12641 3 60584 1 47869 0 60335 5 1913 2 9097 1 29570 1 4538 1 80524 5 42461 3 54663 3 61931 5 60547 1 58962 2 58064 1 2229 3 4641 0 27042 3 32084 5 44771 1 53558 0 41571 2 88041 4 76753 2 26081 1 90467 1 64407 4 2922...
output:
595532
result:
ok single line: '595532'
Test #9:
score: 0
Accepted
time: 86ms
memory: 42460kb
input:
9080 40 47111 35 94924 6 82386 37 40166 24 42765 16 34083 12 58367 39 17110 25 16355 20 30636 17 45843 9 45447 35 51324 35 66281 9 1931 18 17096 0 38236 15 27017 27 92514 20 14910 20 62715 24 67194 2 80341 26 91389 31 98105 19 53581 2 40612 11 28195 6 15454 11 49275 17 82509 26 73238 14 91578 19 386...
output:
3989899
result:
ok single line: '3989899'
Test #10:
score: 0
Accepted
time: 74ms
memory: 43008kb
input:
4134 32 82126 11 86531 11 50685 15 52014 0 53917 1 3023 9 50011 17 24414 22 94670 31 38268 5 65991 9 83910 18 39591 1 36893 5 77549 12 89460 16 93830 5 76083 31 52362 2 13920 24 45611 8 80784 26 7937 31 60295 0 85271 29 23565 29 97719 25 26150 28 35912 6 19750 13 95018 20 74364 1 64141 9 23161 16 96...
output:
3184670
result:
ok single line: '3184670'
Test #11:
score: 0
Accepted
time: 88ms
memory: 44352kb
input:
9059 37 83034 4 73737 4 46524 13 76726 3 37142 0 53776 22 1896 10 77086 33 59689 25 8341 16 13289 10 4723 27 47919 32 24270 4 76334 1 53009 12 70005 24 83953 13 132 29 35724 23 28239 29 55566 14 61861 13 77795 7 38726 2 54727 6 56371 24 72067 30 92782 4 40276 29 34552 1 42482 1 62914 2 46834 22 8907...
output:
3692836
result:
ok single line: '3692836'
Test #12:
score: 0
Accepted
time: 102ms
memory: 44116kb
input:
10000 47 71887 7 38859 45 54133 10 29143 17 95324 41 62172 37 48397 32 63845 25 86953 3 15824 39 34490 44 27752 28 44858 25 78991 7 56060 45 49801 21 67804 18 20457 0 82869 11 59658 27 99886 33 60756 13 94245 15 81820 16 99030 31 50770 5 70372 24 76025 45 31379 33 6249 36 22515 38 27832 10 10469 43 ...
output:
4688656
result:
ok single line: '4688656'
Test #13:
score: 0
Accepted
time: 58ms
memory: 37740kb
input:
1505 36 83310 8 94086 2 38313 29 61146 20 94747 22 9601 29 39217 5 35710 33 22062 9 95290 0 66291 17 20174 16 23139 3 36649 21 30647 3 81300 31 24876 25 76650 8 26941 11 32667 7 41948 20 73204 31 31651 5 97334 33 6177 21 3052 28 57389 31 62445 22 85813 20 89425 10 58325 7 77192 24 83208 2 5148 28 44...
output:
3558198
result:
ok single line: '3558198'
Test #14:
score: 0
Accepted
time: 80ms
memory: 40668kb
input:
7743 44 26868 25 46463 24 47630 11 84927 38 83813 2 3895 6 86346 19 66479 36 99921 4 43922 42 17711 16 70882 21 79285 22 78361 7 263 25 94825 22 28997 6 94401 42 62926 2 10685 23 40147 28 54205 11 48732 11 92385 28 81169 20 67378 41 81104 22 63419 15 36944 8 9535 12 22260 20 29534 0 15563 38 98380 2...
output:
4391763
result:
ok single line: '4391763'
Test #15:
score: 0
Accepted
time: 90ms
memory: 44600kb
input:
10000 47 76695 2 83536 42 68489 33 26447 18 53950 46 19170 30 31193 37 63023 0 15328 29 58724 13 75188 3 87346 43 88726 5 18147 29 15857 39 52226 40 37017 6 93451 18 19392 16 29146 33 50563 0 5844 0 7365 35 5600 6 20758 23 27606 4 18096 29 98185 1 7028 9 83488 7 90108 19 9132 43 53108 14 25971 21 73...
output:
4688094
result:
ok single line: '4688094'
Test #16:
score: 0
Accepted
time: 42ms
memory: 38516kb
input:
4 40 1000 38 3000 39 2000 0 2001 0
output:
6001
result:
ok single line: '6001'