99 Problems
This commit is contained in:
1 parent
d33f7ca4f3
commit
6f07466744
1 file changed
+10
@@ -0,0 +1,10 @@
|
||||
n = int(input())
|
||||
|
||||
x = n % 100
|
||||
if x < 49:
|
||||
n -= x + 1
|
||||
else:
|
||||
n += 99 - x
|
||||
if n < 0: n = 99
|
||||
|
||||
print(n)
|
||||
Reference in new issue
Block a user