index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
progs
/
a738.py
blob: 27191c13b7d9012bf2c96e2310b50aea4dae6ed2 (
plain
)
1
2
3
4
def
round_num
(
n
,
m
):
a
=
(
n
//
m
)
*
m
b
=
a
+
m
return
(
b
if
n
-
a
>
b
-
n
else
a
)