QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#319857#7868. 天空度假山庄locsey100 ✓36ms3980kbC++201.2kb2024-02-03 10:46:152024-02-03 10:46:15

詳細信息

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 1ms
memory: 3920kb

input:

8216 1

output:

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 10...

result:

ok correct

Test #2:

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

input:

5166 2

output:

6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 17 22 18 23 19 24 20 25 21 26 22 27 23 28 24 29 25 30 26 31 27 32 28 33 29 34 30 35 31 36 32 37 33 38 34 39 35 40 36 41 37 42 38 43 39 44 40 45 41 46 42 47 43 48 44 49 45 50 46 51 47 52 48 53 49 54 50 55 51 56 52 57 53 ...

result:

ok correct

Test #3:

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

input:

7445 2

output:

6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 17 22 18 23 19 24 20 25 21 26 22 27 23 28 24 29 25 30 26 31 27 32 28 33 29 34 30 35 31 36 32 37 33 38 34 39 35 40 36 41 37 42 38 43 39 44 40 45 41 46 42 47 43 48 44 49 45 50 46 51 47 52 48 53 49 54 50 55 51 56 52 57 53 ...

result:

ok correct

Test #4:

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

input:

1295 2

output:

6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 17 22 18 23 19 24 20 25 21 26 22 27 23 28 24 29 25 30 26 31 27 32 28 33 29 34 30 35 31 36 32 37 33 38 34 39 35 40 36 41 37 42 38 43 39 44 40 45 41 46 42 47 43 48 44 49 45 50 46 51 47 52 48 53 49 54 50 55 51 56 52 57 53 ...

result:

ok correct

Subtask #2:

score: 20
Accepted

Test #5:

score: 20
Accepted
time: 27ms
memory: 3792kb

input:

86132 9

output:

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

result:

ok correct

Test #6:

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

input:

73452 11

output:

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

result:

ok correct

Test #7:

score: 0
Accepted
time: 20ms
memory: 3912kb

input:

23283 20

output:

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

result:

ok correct

Test #8:

score: 0
Accepted
time: 27ms
memory: 3976kb

input:

36944 17

output:

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

result:

ok correct

Test #9:

score: 0
Accepted
time: 27ms
memory: 3916kb

input:

61927 10

output:

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

result:

ok correct

Subtask #3:

score: 20
Accepted

Dependency #2:

100%
Accepted

Test #10:

score: 20
Accepted
time: 1ms
memory: 3844kb

input:

111 17

output:

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

result:

ok correct

Test #11:

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

input:

462 86

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 7 3 9 2 11 3 13 2 15 3 17 2 19 3 21 2 23 3 25 2 27 3 29 2 31 3 33 2 35 3 37 2 39 3 41 2...

result:

ok correct

Test #12:

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

input:

262 43

output:

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

result:

ok correct

Test #13:

score: 0
Accepted
time: 4ms
memory: 3844kb

input:

672 125

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #14:

score: 0
Accepted
time: 2ms
memory: 3844kb

input:

747 127

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #15:

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

input:

404 72

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 3 4 76 2 7 3 9 2 11 3 13 2 15 3 17 2 19 3 21 2 23 3 25 2 27 3 29 2 31 3 33 2 35 3 37 2 39 3 41 2 43 3 45 2 47 3 49 2 51 3 53 2 55 3 ...

result:

ok correct

Subtask #4:

score: 20
Accepted

Test #16:

score: 20
Accepted
time: 13ms
memory: 3852kb

input:

1777 229

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #17:

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

input:

1129 229

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #18:

score: 0
Accepted
time: 36ms
memory: 3980kb

input:

4253 233

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #19:

score: 0
Accepted
time: 20ms
memory: 3980kb

input:

2311 233

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #20:

score: 0
Accepted
time: 27ms
memory: 3872kb

input:

6712 114

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 7 3 9 2...

result:

ok correct

Test #21:

score: 0
Accepted
time: 5ms
memory: 3872kb

input:

1050 114

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 7 3 9 2...

result:

ok correct

Test #22:

score: 0
Accepted
time: 23ms
memory: 3848kb

input:

1132 514

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #23:

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

input:

1130 514

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Subtask #5:

score: 35
Accepted

Dependency #1:

100%
Accepted

Dependency #3:

100%
Accepted

Dependency #4:

100%
Accepted

Test #24:

score: 35
Accepted
time: 26ms
memory: 3920kb

input:

1151 564

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #25:

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

input:

1042 511

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #26:

score: 0
Accepted
time: 28ms
memory: 3788kb

input:

1170 575

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #27:

score: 0
Accepted
time: 31ms
memory: 3844kb

input:

1249 615

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #28:

score: 0
Accepted
time: 11ms
memory: 3852kb

input:

746 364

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #29:

score: 0
Accepted
time: 26ms
memory: 3980kb

input:

1146 565

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #30:

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

input:

554 265

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #31:

score: 0
Accepted
time: 19ms
memory: 3912kb

input:

1061 519

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #32:

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

input:

173 78

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 7 3 9 2 11 3 13 2 15 3 17 2 19 3 21 2 23 3 25 2 27 3 29 2 31 3 33 2 35 3 37 2 39 3 41 2 43 3 45 2 47 3 49 2...

result:

ok correct

Test #33:

score: 0
Accepted
time: 12ms
memory: 3912kb

input:

884 430

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #34:

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

input:

1089 537

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct

Test #35:

score: 0
Accepted
time: 4ms
memory: 3856kb

input:

433 207

output:

6 2 8 1 10 2 12 1 14 2 16 1 18 2 20 1 22 2 24 1 26 2 28 1 30 2 32 1 34 2 36 1 38 2 40 1 42 2 44 1 46 2 48 1 50 2 52 1 54 2 56 1 58 2 60 1 62 2 64 1 66 2 68 1 70 2 72 1 74 2 76 1 78 2 80 1 82 2 84 1 86 2 88 1 90 2 92 1 94 2 96 1 98 2 100 1 102 2 104 1 106 2 108 1 110 2 112 1 114 2 116 1 118 2 120 1 1...

result:

ok correct