Skip to content

Commit

Permalink
solution
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiik05 committed Oct 18, 2024
1 parent fd44ce1 commit fcc3d46
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,3 @@ def wrapper(*args) -> Any:
return result

return wrapper


@cache
def long_time_func(a: int, b: int, c: int) -> int:
return (a ** b ** c) % (a * c)


@cache
def long_time_func_2(n_tuple: tuple, power: int) -> Any:
return [number ** power for number in n_tuple]

0 comments on commit fcc3d46

Please sign in to comment.