题目大意
将数四舍五入…
题解
逗比题…
#include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int read()
{
char ch=getchar();int f=0;
while(ch<'0'||ch>'9') ch=getchar();
while(ch>='0'&&ch<='9') {f=f*10+(ch^48);ch=getchar();}
return f;
}
int main()
{
int x=read();
if(x%10>=5)
{
printf("%d",x/10*10+10);
}
else printf("%d",x/10*10);
}