QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#74711#5176. 多控制反转SegmentTree0 2ms3368kbC++201.8kb2023-02-03 14:15:222023-02-03 14:15:25

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 15
Accepted
time: 0ms
memory: 3320kb

input:

0 2 1 1

output:

1
1 0

result:

ok OK.

Test #2:

score: -15
Wrong Answer
time: 2ms
memory: 3328kb

input:

13 28 105 1

output:

82
3 6 0 13
3 7 1 6
3 8 2 7
3 9 3 8
3 10 4 9
3 5 14 10
3 10 4 9
3 9 3 8
3 8 2 7
3 7 1 6
3 6 0 13
3 7 1 6
3 8 2 7
3 9 3 8
3 10 4 9
3 5 14 10
3 10 4 9
3 9 3 8
3 8 2 7
3 7 1 6
3 0 6 14
3 1 7 0
3 2 8 1
3 3 9 2
3 4 10 3
3 11 12 4
3 4 10 3
3 3 9 2
3 2 8 1
3 1 7 0
3 0 6 14
3 0 6 14
3 1 7 0
3 2 8 1
3 3 9 2
...

result:

wrong answer Wrong solution.

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Wrong Answer

Test #13:

score: 10
Accepted
time: 2ms
memory: 3364kb

input:

0 2 1 4

output:

1
1 0

result:

ok OK.

Test #14:

score: -10
Wrong Answer
time: 2ms
memory: 3336kb

input:

18 20 325 4

output:

122
3 9 0 18
3 10 1 9
3 11 2 10
3 12 3 11
3 13 4 12
3 14 5 13
3 15 6 14
3 16 7 15
3 8 19 16
3 16 7 15
3 15 6 14
3 14 5 13
3 13 4 12
3 12 3 11
3 11 2 10
3 10 1 9
3 9 0 18
3 10 1 9
3 11 2 10
3 12 3 11
3 13 4 12
3 14 5 13
3 15 6 14
3 16 7 15
3 8 19 16
3 16 7 15
3 15 6 14
3 14 5 13
3 13 4 12
3 12 3 11
3...

result:

wrong answer Wrong solution.

Subtask #5:

score: 0
Skipped

Dependency #4:

0%

Subtask #6:

score: 0
Wrong Answer

Test #20:

score: 0
Wrong Answer
time: 0ms
memory: 3368kb

input:

14 16 393 6

output:

90
3 7 0 14
3 8 1 7
3 9 2 8
3 10 3 9
3 11 4 10
3 12 5 11
3 6 15 12
3 12 5 11
3 11 4 10
3 10 3 9
3 9 2 8
3 8 1 7
3 7 0 14
3 8 1 7
3 9 2 8
3 10 3 9
3 11 4 10
3 12 5 11
3 6 15 12
3 12 5 11
3 11 4 10
3 10 3 9
3 9 2 8
3 8 1 7
3 0 7 15
3 1 8 0
3 2 9 1
3 3 10 2
3 4 11 3
3 12 13 4
3 4 11 3
3 3 10 2
3 2 9 1
...

result:

wrong answer Wrong solution.

Subtask #7:

score: 0
Skipped

Dependency #2:

0%

Subtask #8:

score: 0
Skipped

Dependency #3:

0%