#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int x = n/50*7;
int y = (n - n/50*50)/30*4;
int z = (n - n/50*50 - (n - n/50*50)/30*30)/10;
cout << x+y+z << endl;
return 0;
}
CCF201709-1 打酱油 满分
最新推荐文章于 2021-11-19 21:19:56 发布