#include<cstdio>
using namespace std;
int main()
{
int dist;
scanf("%d",&dist);
if (dist <= 1500)
printf("70");
else if (dist > 10000)
printf("Sleeping in school");
else
printf("%d",(((dist - 1500) / 500) + ((dist % 500) != 0))) * 5 + 70);
return 0;
}
| 歡迎光臨 竹園論壇 (http://forum.tfcis.org/) | Powered by Discuz! X3.2 |