QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#744888 | #121. Bitaro's Party | HuangHanSheng | 0 | 220ms | 267372kb | C++20 | 2.2kb | 2024-11-14 00:14:44 | 2024-11-14 00:14:45 |
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
Subtask #1:
score: 0
Time Limit Exceeded
Test #1:
score: 7
Accepted
time: 1ms
memory: 3612kb
input:
1 0 1 1 0
output:
0
result:
ok single line: '0'
Test #2:
score: 7
Accepted
time: 1ms
memory: 3612kb
input:
1 0 1 1 1 1
output:
-1
result:
ok single line: '-1'
Test #3:
score: 7
Accepted
time: 1ms
memory: 3772kb
input:
2 1 1 1 2 1 2 1 2
output:
-1
result:
ok single line: '-1'
Test #4:
score: 7
Accepted
time: 1ms
memory: 3652kb
input:
2 1 1 1 2 1 1 1
output:
-1
result:
ok single line: '-1'
Test #5:
score: 7
Accepted
time: 6ms
memory: 7272kb
input:
1000 2000 1 66 427 211 505 213 674 56 131 180 883 127 167 228 262 42 50 386 688 346 943 170 396 127 150 169 192 253 706 96 497 141 277 317 711 792 802 244 469 24 702 135 252 31 764 52 95 701 900 473 832 510 691 14 474 158 488 422 491 228 897 318 622 195 548 479 626 525 728 53 109 133 854 392 416 34 ...
output:
12
result:
ok single line: '12'
Test #6:
score: 7
Accepted
time: 2ms
memory: 6348kb
input:
1000 2000 1 762 826 799 904 17 20 56 733 46 416 261 768 196 392 121 144 14 69 244 625 331 485 331 383 502 635 107 914 131 274 288 495 70 103 417 934 318 535 775 930 9 113 250 677 82 200 2 4 36 77 367 553 8 31 633 712 21 179 484 963 117 146 207 413 685 787 561 903 508 710 834 912 4 76 196 977 355 394...
output:
14
result:
ok single line: '14'
Test #7:
score: 7
Accepted
time: 5ms
memory: 6424kb
input:
1000 2000 1 86 222 107 710 207 983 80 929 4 5 685 963 758 769 228 274 34 35 14 26 614 786 383 679 41 62 125 522 619 851 175 359 253 492 127 182 27 367 111 221 170 453 519 612 137 191 254 301 53 148 214 824 31 374 402 795 25 26 177 461 301 614 574 798 82 104 137 625 86 575 32 364 37 183 131 270 113 6...
output:
2
result:
ok single line: '2'
Test #8:
score: 7
Accepted
time: 195ms
memory: 225536kb
input:
1000 2000 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52...
output:
181
result:
ok single line: '181'
Test #9:
score: 7
Accepted
time: 19ms
memory: 41504kb
input:
1000 2000 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52...
output:
627
result:
ok single line: '627'
Test #10:
score: 7
Accepted
time: 163ms
memory: 167564kb
input:
1000 2000 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52...
output:
72
result:
ok single line: '72'
Test #11:
score: 7
Accepted
time: 188ms
memory: 210488kb
input:
1000 2000 1 1 2 1 3 1 4 1 5 2 6 4 7 7 8 5 9 5 10 5 11 4 12 11 13 6 14 6 15 7 16 11 17 17 18 14 19 18 20 14 21 13 22 16 23 14 24 24 25 17 26 23 27 25 28 25 29 22 30 30 31 25 32 31 33 33 34 27 35 28 36 27 37 30 38 33 39 36 40 37 41 32 42 33 43 42 44 43 45 44 46 39 47 38 48 43 49 49 50 45 51 50 52 48 5...
output:
9
result:
ok single line: '9'
Test #12:
score: 7
Accepted
time: 7ms
memory: 11300kb
input:
1000 2000 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 1 11 1 12 1 13 1 14 1 15 1 16 3 17 16 18 2 19 18 20 1 21 1 22 13 23 15 24 6 25 1 26 1 27 1 28 1 29 2 30 1 31 1 32 26 33 11 34 8 35 1 36 19 37 30 38 29 39 24 40 10 41 1 42 1 43 1 44 1 45 1 46 1 47 1 48 1 49 1 50 29 51 22 52 49 53 7 54 1 55 1 56 9 57 44...
output:
11
result:
ok single line: '11'
Test #13:
score: 7
Accepted
time: 220ms
memory: 267372kb
input:
1000 2000 1 1 2 1 3 1 4 4 5 1 6 1 7 1 8 7 9 9 10 5 11 11 12 6 13 9 14 13 15 11 16 10 17 15 18 9 19 15 20 11 21 16 22 18 23 19 24 19 25 18 26 24 27 20 28 22 29 27 30 26 31 26 32 26 33 32 34 34 35 34 36 36 37 34 38 32 39 36 40 35 41 34 42 42 43 34 44 38 45 39 46 45 47 44 48 47 49 41 50 45 51 43 52 50 ...
output:
-1
result:
ok single line: '-1'
Test #14:
score: 0
Time Limit Exceeded
input:
1000 2000 1 999 1000 998 1000 997 1000 996 1000 995 1000 994 1000 993 996 992 1000 991 994 990 992 989 996 988 998 987 995 986 990 985 991 984 985 983 987 982 988 981 984 980 988 979 987 978 980 977 981 976 986 975 976 974 983 973 975 972 981 971 972 970 974 969 970 968 972 967 969 966 972 965 968 9...
output:
result:
Subtask #2:
score: 0
Skipped
Dependency #1:
0%
Subtask #3:
score: 0
Skipped
Dependency #1:
0%