Skip to content
Snippets Groups Projects
Verified Commit e237169d authored by Recolic Keghart's avatar Recolic Keghart
Browse files

fix testcases

parent de587520
No related branches found
No related tags found
No related merge requests found
Pipeline #553 passed with warnings with stages
in 19 minutes and 47 seconds
Showing
with 2 additions and 5596 deletions
...@@ -9,7 +9,6 @@ def exp(x: int, y: int) -> int: ...@@ -9,7 +9,6 @@ def exp(x: int, y: int) -> int:
return geta() return geta()
else: else:
a = a * x a = a * x
print(a)
return f(i-1) return f(i-1)
a = 1 a = 1
return f(y) return f(y)
...@@ -23,4 +22,4 @@ i:int = 0 ...@@ -23,4 +22,4 @@ i:int = 0
# Crunch # Crunch
while i <= n: while i <= n:
print(exp(2, i % 31)) print(exp(2, i % 31))
i = i + 1 i = i + 1
\ No newline at end of file
This diff is collapsed.
...@@ -12,7 +12,6 @@ class B(A): ...@@ -12,7 +12,6 @@ class B(A):
def bar(self:"B") -> int: def bar(self:"B") -> int:
a:A = None a:A = None
print(a)
return a.foo(self.b) return a.foo(self.b)
print(B().bar()) print(B().bar())
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -3,6 +3,7 @@ y:int = 0 ...@@ -3,6 +3,7 @@ y:int = 0
z:[int] = None z:[int] = None
z = [1, 2, 3] z = [1, 2, 3]
for x in z: for x in z:
for y in z: for y in z:
print(x * y) print(x * y)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment