QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#72462 | #5176. 多控制反转 | SegmentTree | 35 | 2ms | 3596kb | C++ | 1.3kb | 2023-01-15 18:21:12 | 2023-01-15 18:22:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Subtask #1:
score: 15
Accepted
Test #1:
score: 15
Accepted
time: 2ms
memory: 3324kb
input:
0 2 1 1
output:
1 1 0
result:
ok OK.
Test #2:
score: 0
Accepted
time: 0ms
memory: 3412kb
input:
13 28 105 1
output:
48 3 12 25 13 3 11 24 25 3 10 23 24 3 9 22 23 3 8 21 22 3 7 20 21 3 6 19 20 3 5 18 19 3 4 17 18 3 3 16 17 3 2 15 16 3 1 14 15 2 0 14 3 1 14 15 3 2 15 16 3 3 16 17 3 4 17 18 3 5 18 19 3 6 19 20 3 7 20 21 3 8 21 22 3 9 22 23 3 10 23 24 3 11 24 25 3 12 25 13 3 11 24 25 3 10 23 24 3 9 22 23 3 8 21 22 3 ...
result:
ok OK.
Test #3:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
5 12 41 1
output:
16 3 4 9 5 3 3 8 9 3 2 7 8 3 1 6 7 2 0 6 3 1 6 7 3 2 7 8 3 3 8 9 3 4 9 5 3 3 8 9 3 2 7 8 3 1 6 7 2 0 6 3 1 6 7 3 2 7 8 3 3 8 9
result:
ok OK.
Test #4:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
20 42 161 1
output:
76 3 19 39 20 3 18 38 39 3 17 37 38 3 16 36 37 3 15 35 36 3 14 34 35 3 13 33 34 3 12 32 33 3 11 31 32 3 10 30 31 3 9 29 30 3 8 28 29 3 7 27 28 3 6 26 27 3 5 25 26 3 4 24 25 3 3 23 24 3 2 22 23 3 1 21 22 2 0 21 3 1 21 22 3 2 22 23 3 3 23 24 3 4 24 25 3 5 25 26 3 6 26 27 3 7 27 28 3 8 28 29 3 9 29 30 ...
result:
ok OK.
Subtask #2:
score: 10
Accepted
Dependency #1:
100%
Accepted
Test #5:
score: 10
Accepted
time: 0ms
memory: 3556kb
input:
48 98 385 2
output:
188 3 47 95 48 3 46 94 95 3 45 93 94 3 44 92 93 3 43 91 92 3 42 90 91 3 41 89 90 3 40 88 89 3 39 87 88 3 38 86 87 3 37 85 86 3 36 84 85 3 35 83 84 3 34 82 83 3 33 81 82 3 32 80 81 3 31 79 80 3 30 78 79 3 29 77 78 3 28 76 77 3 27 75 76 3 26 74 75 3 25 73 74 3 24 72 73 3 23 71 72 3 22 70 71 3 21 69 70...
result:
ok OK.
Test #6:
score: 0
Accepted
time: 0ms
memory: 3424kb
input:
41 84 329 2
output:
160 3 40 81 41 3 39 80 81 3 38 79 80 3 37 78 79 3 36 77 78 3 35 76 77 3 34 75 76 3 33 74 75 3 32 73 74 3 31 72 73 3 30 71 72 3 29 70 71 3 28 69 70 3 27 68 69 3 26 67 68 3 25 66 67 3 24 65 66 3 23 64 65 3 22 63 64 3 21 62 63 3 20 61 62 3 19 60 61 3 18 59 60 3 17 58 59 3 16 57 58 3 15 56 57 3 14 55 56...
result:
ok OK.
Test #7:
score: 0
Accepted
time: 2ms
memory: 3336kb
input:
50 102 401 2
output:
196 3 49 99 50 3 48 98 99 3 47 97 98 3 46 96 97 3 45 95 96 3 44 94 95 3 43 93 94 3 42 92 93 3 41 91 92 3 40 90 91 3 39 89 90 3 38 88 89 3 37 87 88 3 36 86 87 3 35 85 86 3 34 84 85 3 33 83 84 3 32 82 83 3 31 81 82 3 30 80 81 3 29 79 80 3 28 78 79 3 27 77 78 3 26 76 77 3 25 75 76 3 24 74 75 3 23 73 74...
result:
ok OK.
Subtask #3:
score: 10
Accepted
Dependency #2:
100%
Accepted
Test #8:
score: 10
Accepted
time: 1ms
memory: 3452kb
input:
0 2 1 3
output:
1 1 0
result:
ok OK.
Test #9:
score: 0
Accepted
time: 2ms
memory: 3456kb
input:
19 40 153 3
output:
72 3 18 37 19 3 17 36 37 3 16 35 36 3 15 34 35 3 14 33 34 3 13 32 33 3 12 31 32 3 11 30 31 3 10 29 30 3 9 28 29 3 8 27 28 3 7 26 27 3 6 25 26 3 5 24 25 3 4 23 24 3 3 22 23 3 2 21 22 3 1 20 21 2 0 20 3 1 20 21 3 2 21 22 3 3 22 23 3 4 23 24 3 5 24 25 3 6 25 26 3 7 26 27 3 8 27 28 3 9 28 29 3 10 29 30 ...
result:
ok OK.
Test #10:
score: 0
Accepted
time: 2ms
memory: 3596kb
input:
47 96 377 3
output:
184 3 46 93 47 3 45 92 93 3 44 91 92 3 43 90 91 3 42 89 90 3 41 88 89 3 40 87 88 3 39 86 87 3 38 85 86 3 37 84 85 3 36 83 84 3 35 82 83 3 34 81 82 3 33 80 81 3 32 79 80 3 31 78 79 3 30 77 78 3 29 76 77 3 28 75 76 3 27 74 75 3 26 73 74 3 25 72 73 3 24 71 72 3 23 70 71 3 22 69 70 3 21 68 69 3 20 67 68...
result:
ok OK.
Test #11:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
25 52 201 3
output:
96 3 24 49 25 3 23 48 49 3 22 47 48 3 21 46 47 3 20 45 46 3 19 44 45 3 18 43 44 3 17 42 43 3 16 41 42 3 15 40 41 3 14 39 40 3 13 38 39 3 12 37 38 3 11 36 37 3 10 35 36 3 9 34 35 3 8 33 34 3 7 32 33 3 6 31 32 3 5 30 31 3 4 29 30 3 3 28 29 3 2 27 28 3 1 26 27 2 0 26 3 1 26 27 3 2 27 28 3 3 28 29 3 4 2...
result:
ok OK.
Test #12:
score: 0
Accepted
time: 2ms
memory: 3400kb
input:
50 102 401 3
output:
196 3 49 99 50 3 48 98 99 3 47 97 98 3 46 96 97 3 45 95 96 3 44 94 95 3 43 93 94 3 42 92 93 3 41 91 92 3 40 90 91 3 39 89 90 3 38 88 89 3 37 87 88 3 36 86 87 3 35 85 86 3 34 84 85 3 33 83 84 3 32 82 83 3 31 81 82 3 30 80 81 3 29 79 80 3 28 78 79 3 27 77 78 3 26 76 77 3 25 75 76 3 24 74 75 3 23 73 74...
result:
ok OK.
Subtask #4:
score: 0
Wrong Answer
Test #13:
score: 10
Accepted
time: 2ms
memory: 3448kb
input:
0 2 1 4
output:
1 1 0
result:
ok OK.
Test #14:
score: -10
Wrong Answer
time: 2ms
memory: 3540kb
input:
18 20 325 4
output:
68 3 17 35 18 3 16 34 35 3 15 33 34 3 14 32 33 3 13 31 32 3 12 30 31 3 11 29 30 3 10 28 29 3 9 27 28 3 8 26 27 3 7 25 26 3 6 24 25 3 5 23 24 3 4 22 23 3 3 21 22 3 2 20 21 3 1 19 20 2 0 19 3 1 19 20 3 2 20 21 3 3 21 22 3 4 22 23 3 5 23 24 3 6 24 25 3 7 25 26 3 8 26 27 3 9 27 28 3 10 28 29 3 11 29 30 ...
result:
wrong answer Integer 35 violates the range [0, 19]
Subtask #5:
score: 0
Skipped
Dependency #4:
0%
Subtask #6:
score: 0
Wrong Answer
Test #20:
score: 0
Wrong Answer
time: 2ms
memory: 3548kb
input:
14 16 393 6
output:
52 3 13 27 14 3 12 26 27 3 11 25 26 3 10 24 25 3 9 23 24 3 8 22 23 3 7 21 22 3 6 20 21 3 5 19 20 3 4 18 19 3 3 17 18 3 2 16 17 3 1 15 16 2 0 15 3 1 15 16 3 2 16 17 3 3 17 18 3 4 18 19 3 5 19 20 3 6 20 21 3 7 21 22 3 8 22 23 3 9 23 24 3 10 24 25 3 11 25 26 3 12 26 27 3 13 27 14 3 12 26 27 3 11 25 26 ...
result:
wrong answer Integer 27 violates the range [0, 15]
Subtask #7:
score: 0
Skipped
Dependency #2:
100%
Accepted
Dependency #4:
0%
Subtask #8:
score: 0
Skipped
Dependency #3:
100%
Accepted
Dependency #5:
0%