-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
220 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
10 | ||
Q | ||
C 8 | ||
C 7 | ||
C 11 | ||
Q | ||
C 2 | ||
C 4 | ||
C 3 | ||
Q | ||
C 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
0 | ||
1 | ||
3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
0 | ||
1 | ||
3 | ||
********************************************************************** | ||
File "/workspace/soi-problem/src/task.py", line 35, in __main__.find_last_height_geq | ||
Failed example: | ||
last_geq | ||
Expected nothing | ||
Got: | ||
[0, 0, 0, 0, 0, 0, 0] | ||
********************************************************************** | ||
File "/workspace/soi-problem/src/task.py", line 36, in __main__.find_last_height_geq | ||
Failed example: | ||
find_last_height_geq(heights, 1) | ||
Exception raised: | ||
Traceback (most recent call last): | ||
File "/home/gitpod/.pyenv/versions/3.11.9/lib/python3.11/doctest.py", line 1355, in __run | ||
exec(compile(example.source, filename, "single", | ||
File "<doctest __main__.find_last_height_geq[4]>", line 1, in <module> | ||
find_last_height_geq(heights, 1) | ||
TypeError: find_last_height_geq() missing 1 required positional argument: 'i' | ||
********************************************************************** | ||
File "/workspace/soi-problem/src/task.py", line 38, in __main__.find_last_height_geq | ||
Failed example: | ||
find_last_height_geq(heights, 3) | ||
Exception raised: | ||
Traceback (most recent call last): | ||
File "/home/gitpod/.pyenv/versions/3.11.9/lib/python3.11/doctest.py", line 1355, in __run | ||
exec(compile(example.source, filename, "single", | ||
File "<doctest __main__.find_last_height_geq[5]>", line 1, in <module> | ||
find_last_height_geq(heights, 3) | ||
TypeError: find_last_height_geq() missing 1 required positional argument: 'i' | ||
********************************************************************** | ||
File "/workspace/soi-problem/src/task.py", line 40, in __main__.find_last_height_geq | ||
Failed example: | ||
find_last_height_geq(heights, 4) | ||
Exception raised: | ||
Traceback (most recent call last): | ||
File "/home/gitpod/.pyenv/versions/3.11.9/lib/python3.11/doctest.py", line 1355, in __run | ||
exec(compile(example.source, filename, "single", | ||
File "<doctest __main__.find_last_height_geq[6]>", line 1, in <module> | ||
find_last_height_geq(heights, 4) | ||
TypeError: find_last_height_geq() missing 1 required positional argument: 'i' | ||
********************************************************************** | ||
File "/workspace/soi-problem/src/task.py", line 42, in __main__.find_last_height_geq | ||
Failed example: | ||
find_last_height_geq(heights, 5) | ||
Exception raised: | ||
Traceback (most recent call last): | ||
File "/home/gitpod/.pyenv/versions/3.11.9/lib/python3.11/doctest.py", line 1355, in __run | ||
exec(compile(example.source, filename, "single", | ||
File "<doctest __main__.find_last_height_geq[7]>", line 1, in <module> | ||
find_last_height_geq(heights, 5) | ||
TypeError: find_last_height_geq() missing 1 required positional argument: 'i' | ||
********************************************************************** | ||
File "/workspace/soi-problem/src/task.py", line 44, in __main__.find_last_height_geq | ||
Failed example: | ||
find_last_height_geq(heights, 6) | ||
Exception raised: | ||
Traceback (most recent call last): | ||
File "/home/gitpod/.pyenv/versions/3.11.9/lib/python3.11/doctest.py", line 1355, in __run | ||
exec(compile(example.source, filename, "single", | ||
File "<doctest __main__.find_last_height_geq[8]>", line 1, in <module> | ||
find_last_height_geq(heights, 6) | ||
TypeError: find_last_height_geq() missing 1 required positional argument: 'i' | ||
********************************************************************** | ||
1 items had failures: | ||
6 of 9 in __main__.find_last_height_geq | ||
***Test Failed*** 6 failures. |