restructure zeta/** to storage/zeta/**
This commit is contained in:
21
storage/zeta/py/completed/1436.py
Normal file
21
storage/zeta/py/completed/1436.py
Normal file
@@ -0,0 +1,21 @@
|
||||
N = int(input())
|
||||
count = 0
|
||||
now = 666
|
||||
|
||||
|
||||
def isEnd(n):
|
||||
k = 100
|
||||
while k != 666:
|
||||
if n < 100:
|
||||
break
|
||||
k = n % 1000
|
||||
n //= 10
|
||||
else:
|
||||
return True
|
||||
|
||||
|
||||
while count != N:
|
||||
if isEnd(now):
|
||||
count += 1
|
||||
now += 1
|
||||
print(now - 1) # Simple is the best
|
||||
Reference in New Issue
Block a user