← Back to List
2033번: 반올림 ↗
Solutions
Python 3
87 B | 87 chars
n = int(input()) k = 10 while(k < n): n = ((n + (k//10)*5)//k)*k k*=10 print(n)