Type of parameter added
This commit is contained in:
2
06/f.py
2
06/f.py
@@ -4,7 +4,7 @@ input = open(os.path.dirname(__file__) +
|
|||||||
"/input.txt", "r").read()
|
"/input.txt", "r").read()
|
||||||
|
|
||||||
|
|
||||||
def findUniq(length):
|
def findUniq(length: int):
|
||||||
for i in range(len(input)):
|
for i in range(len(input)):
|
||||||
if len(set(input[i:i+length])) == length:
|
if len(set(input[i:i+length])) == length:
|
||||||
return i+length
|
return i+length
|
||||||
|
|||||||
Reference in New Issue
Block a user