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