var n:longint; begin read(n); if (n)mod(10)<5 then n:=n-(n)mod(10) else n:=n-(n)mod(10)+10; write(n); end.
扫描二维码,关注牛客
下载牛客APP,随时随地刷题
全部评论
(0) 回帖