QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#312651#5176. 多控制反转sxzxafu25 1ms4024kbC++14772b2024-01-24 09:38:162024-01-24 09:38:16

详细

Subtask #1:

score: 15
Accepted

Test #1:

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

input:

0 2 1 1

output:

1
1 0 

result:

ok OK.

Test #2:

score: 0
Accepted
time: 1ms
memory: 3756kb

input:

13 28 105 1

output:

23
3 12 11 14 
3 14 10 15 
3 15 9 16 
3 16 8 17 
3 17 7 18 
3 18 6 19 
3 19 5 20 
3 20 4 21 
3 21 3 22 
3 22 2 23 
3 23 1 24 
3 0 24 13 
3 23 1 24 
3 22 2 23 
3 21 3 22 
3 20 4 21 
3 19 5 20 
3 18 6 19 
3 17 7 18 
3 16 8 17 
3 15 9 16 
3 14 10 15 
3 12 11 14 

result:

ok OK.

Test #3:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

5 12 41 1

output:

7
3 4 3 6 
3 6 2 7 
3 7 1 8 
3 0 8 5 
3 7 1 8 
3 6 2 7 
3 4 3 6 

result:

ok OK.

Test #4:

score: 0
Accepted
time: 0ms
memory: 4012kb

input:

20 42 161 1

output:

37
3 19 18 21 
3 21 17 22 
3 22 16 23 
3 23 15 24 
3 24 14 25 
3 25 13 26 
3 26 12 27 
3 27 11 28 
3 28 10 29 
3 29 9 30 
3 30 8 31 
3 31 7 32 
3 32 6 33 
3 33 5 34 
3 34 4 35 
3 35 3 36 
3 36 2 37 
3 37 1 38 
3 0 38 20 
3 37 1 38 
3 36 2 37 
3 35 3 36 
3 34 4 35 
3 33 5 34 
3 32 6 33 
3 31 7 32 
3 ...

result:

ok OK.

Subtask #2:

score: 10
Accepted

Dependency #1:

100%
Accepted

Test #5:

score: 10
Accepted
time: 0ms
memory: 3756kb

input:

48 98 385 2

output:

93
3 47 46 49 
3 49 45 50 
3 50 44 51 
3 51 43 52 
3 52 42 53 
3 53 41 54 
3 54 40 55 
3 55 39 56 
3 56 38 57 
3 57 37 58 
3 58 36 59 
3 59 35 60 
3 60 34 61 
3 61 33 62 
3 62 32 63 
3 63 31 64 
3 64 30 65 
3 65 29 66 
3 66 28 67 
3 67 27 68 
3 68 26 69 
3 69 25 70 
3 70 24 71 
3 71 23 72 
3 72 22 7...

result:

ok OK.

Test #6:

score: 0
Accepted
time: 0ms
memory: 3840kb

input:

41 84 329 2

output:

79
3 40 39 42 
3 42 38 43 
3 43 37 44 
3 44 36 45 
3 45 35 46 
3 46 34 47 
3 47 33 48 
3 48 32 49 
3 49 31 50 
3 50 30 51 
3 51 29 52 
3 52 28 53 
3 53 27 54 
3 54 26 55 
3 55 25 56 
3 56 24 57 
3 57 23 58 
3 58 22 59 
3 59 21 60 
3 60 20 61 
3 61 19 62 
3 62 18 63 
3 63 17 64 
3 64 16 65 
3 65 15 6...

result:

ok OK.

Test #7:

score: 0
Accepted
time: 0ms
memory: 3840kb

input:

50 102 401 2

output:

97
3 49 48 51 
3 51 47 52 
3 52 46 53 
3 53 45 54 
3 54 44 55 
3 55 43 56 
3 56 42 57 
3 57 41 58 
3 58 40 59 
3 59 39 60 
3 60 38 61 
3 61 37 62 
3 62 36 63 
3 63 35 64 
3 64 34 65 
3 65 33 66 
3 66 32 67 
3 67 31 68 
3 68 30 69 
3 69 29 70 
3 70 28 71 
3 71 27 72 
3 72 26 73 
3 73 25 74 
3 74 24 7...

result:

ok OK.

Subtask #3:

score: 0
Wrong Answer

Dependency #2:

100%
Accepted

Test #8:

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

input:

0 2 1 3

output:

0

result:

wrong answer Wrong solution.

Subtask #4:

score: 0
Wrong Answer

Test #13:

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

input:

0 2 1 4

output:

0

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: 4024kb

input:

14 16 393 6

output:

0

result:

wrong answer Wrong solution.

Subtask #7:

score: 0
Skipped

Dependency #2:

100%
Accepted

Dependency #4:

0%

Subtask #8:

score: 0
Skipped

Dependency #3:

0%