← Back to List
15122번: Forbidden Zero ↗
Solutions
Python 3
121 B | 121 chars
a=int(input()) a+=1 while True: b = set(list(str(a))) if '0' in b: a+=1 else: break print(a)