Толстобров Илья Андреевич MulSum 1356
Horryt MulSum 1157
t1from typing import Any, List, Tuple, TypeVar, overloadt1from typing import Any, List, Tuple, TypeVar, overload
2T = TypeVar('T')2T = TypeVar('T')
33
4@overload4@overload
5def anymulsum(a: int, b: int, c: int) -> int:5def anymulsum(a: int, b: int, c: int) -> int:
6    ...6    ...
77
8@overload8@overload
9def anymulsum(a: str, b: int, c: str) -> str:9def anymulsum(a: str, b: int, c: str) -> str:
10    ...10    ...
1111
12@overload12@overload
13def anymulsum(a: bytes, b: int, c: bytes) -> bytes:13def anymulsum(a: bytes, b: int, c: bytes) -> bytes:
14    ...14    ...
1515
16@overload16@overload
17def anymulsum(a: List[T], b: int, c: List[T]) -> List[T]:17def anymulsum(a: List[T], b: int, c: List[T]) -> List[T]:
18    ...18    ...
1919
20@overload20@overload
21def anymulsum(a: Tuple[T, ...], b: int, c: Tuple[T, ...]) -> Tuple[T, ..21def anymulsum(a: Tuple[T, ...], b: int, c: Tuple[T, ...]) -> Tuple[T, ..
>.]:>.]:
22    ...22    ...
2323
24def anymulsum(a: Any, b: int, c: Any) -> Any:24def anymulsum(a: Any, b: int, c: Any) -> Any:
25    return a * b + c25    return a * b + c
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op