← Back to List
14782번: Bedtime Reading, I ↗
Solutions
PyPy3
78 B | 78 chars
s=0 n=int(input()) for i in range(1,n+1): if n%i==0: s+=i print(s)