mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-18 12:02:53 +02:00
fix(challenges): update consecutive-numbers
A little bit harder by having as input consecutive numbers needed to consider
This commit is contained in:
@ -1,6 +1,2 @@
|
||||
7
|
||||
1
|
||||
2
|
||||
5
|
||||
3
|
||||
4
|
||||
7 ; 1 ; 2 ; 5 ; 3 ; 4
|
@ -0,0 +1,2 @@
|
||||
2
|
||||
1 ; 4 ; 3 ; 5
|
@ -1,4 +1,2 @@
|
||||
1
|
||||
4
|
||||
3
|
||||
5
|
||||
2
|
||||
1 ; 4 ; 5 ; 3
|
@ -0,0 +1 @@
|
||||
4 ; 5
|
@ -1,4 +1,2 @@
|
||||
1
|
||||
4
|
||||
5
|
||||
3
|
||||
2
|
||||
5 ; 1 ; 2 ; 3 ; 8 ; -5 ; -4 ; 7
|
@ -1 +1,3 @@
|
||||
4 ; 5
|
||||
1 ; 2
|
||||
2 ; 3
|
||||
-5 ; -4
|
@ -1,8 +1,2 @@
|
||||
5
|
||||
1
|
||||
2
|
||||
3
|
||||
8
|
||||
-5
|
||||
-4
|
||||
7
|
||||
5 ; 1 ; 2 ; 3 ; 8 ; -5 ; -4 ; 7
|
@ -1,3 +1 @@
|
||||
1 ; 2
|
||||
2 ; 3
|
||||
-5 ; -4
|
||||
1 ; 2 ; 3
|
2
challenges/consecutive-numbers/test/6/input.txt
Normal file
2
challenges/consecutive-numbers/test/6/input.txt
Normal file
@ -0,0 +1,2 @@
|
||||
3
|
||||
5 ; 1 ; 2 ; 3 ; 4 ; 5 ; -4 ; 7
|
3
challenges/consecutive-numbers/test/6/output.txt
Normal file
3
challenges/consecutive-numbers/test/6/output.txt
Normal file
@ -0,0 +1,3 @@
|
||||
1 ; 2 ; 3
|
||||
2 ; 3 ; 4
|
||||
3 ; 4 ; 5
|
Reference in New Issue
Block a user