QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#110585#5176. 多控制反转99pts_WA#25 0ms3952kbC++141.4kb2023-06-02 21:54:052024-05-31 13:54:24

详细

Subtask #1:

score: 15
Accepted

Test #1:

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

input:

0 2 1 1

output:

1
1 0

result:

ok OK.

Test #2:

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

input:

13 28 105 1

output:

29
1 14
3 0 14 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
2 27 13
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
3 0 14 15
1 14

result:

ok OK.

Test #3:

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

input:

5 12 41 1

output:

13
1 6
3 0 6 7
3 1 7 8
3 2 8 9
3 3 9 10
3 4 10 11
2 11 5
3 4 10 11
3 3 9 10
3 2 8 9
3 1 7 8
3 0 6 7
1 6

result:

ok OK.

Test #4:

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

input:

20 42 161 1

output:

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

result:

ok OK.

Subtask #2:

score: 10
Accepted

Dependency #1:

100%
Accepted

Test #5:

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

input:

48 98 385 2

output:

99
1 49
3 0 49 50
3 1 50 51
3 2 51 52
3 3 52 53
3 4 53 54
3 5 54 55
3 6 55 56
3 7 56 57
3 8 57 58
3 9 58 59
3 10 59 60
3 11 60 61
3 12 61 62
3 13 62 63
3 14 63 64
3 15 64 65
3 16 65 66
3 17 66 67
3 18 67 68
3 19 68 69
3 20 69 70
3 21 70 71
3 22 71 72
3 23 72 73
3 24 73 74
3 25 74 75
3 26 75 76
3 27 ...

result:

ok OK.

Test #6:

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

input:

41 84 329 2

output:

85
1 42
3 0 42 43
3 1 43 44
3 2 44 45
3 3 45 46
3 4 46 47
3 5 47 48
3 6 48 49
3 7 49 50
3 8 50 51
3 9 51 52
3 10 52 53
3 11 53 54
3 12 54 55
3 13 55 56
3 14 56 57
3 15 57 58
3 16 58 59
3 17 59 60
3 18 60 61
3 19 61 62
3 20 62 63
3 21 63 64
3 22 64 65
3 23 65 66
3 24 66 67
3 25 67 68
3 26 68 69
3 27 ...

result:

ok OK.

Test #7:

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

input:

50 102 401 2

output:

103
1 51
3 0 51 52
3 1 52 53
3 2 53 54
3 3 54 55
3 4 55 56
3 5 56 57
3 6 57 58
3 7 58 59
3 8 59 60
3 9 60 61
3 10 61 62
3 11 62 63
3 12 63 64
3 13 64 65
3 14 65 66
3 15 66 67
3 16 67 68
3 17 68 69
3 18 69 70
3 19 70 71
3 20 71 72
3 21 72 73
3 22 73 74
3 23 74 75
3 24 75 76
3 25 76 77
3 26 77 78
3 27...

result:

ok OK.

Subtask #3:

score: 0
Wrong Answer

Dependency #2:

100%
Accepted

Test #8:

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

input:

0 2 1 3

output:

1
1 0

result:

ok OK.

Test #9:

score: -10
Wrong Answer
time: 0ms
memory: 3808kb

input:

19 40 153 3

output:

41
1 20
3 0 20 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
3 10 30 31
3 11 31 32
3 12 32 33
3 13 33 34
3 14 34 35
3 15 35 36
3 16 36 37
3 17 37 38
3 18 38 39
2 39 19
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 ...

result:

wrong answer Wrong solution.

Subtask #4:

score: 0
Wrong Answer

Test #13:

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

input:

0 2 1 4

output:

1
1 0

result:

ok OK.

Test #14:

score: -10
Wrong Answer
time: 0ms
memory: 3800kb

input:

18 20 325 4

output:

39
1 19
3 0 19 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
3 11 30 31
3 12 31 32
3 13 32 33
3 14 33 34
3 15 34 35
3 16 35 36
3 17 36 37
2 37 18
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 2...

result:

wrong answer Integer 20 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: 0ms
memory: 3944kb

input:

14 16 393 6

output:

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

result:

wrong answer Integer 16 violates the range [0, 15]

Subtask #7:

score: 0
Skipped

Dependency #2:

100%
Accepted

Dependency #4:

0%

Subtask #8:

score: 0
Skipped

Dependency #3:

0%