题解:P15067 [UOI 2024 II Stage] Job Applications
miller2014 · · 题解
1 具体思路
1.1 最大值
想要职位最多,就要让每一页都有
1.2 最小值
想要职位最少,就要让最后一页的数量最少。因为最后一页至少有
2 代码
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
cout<<n*20-19<<" "<<20*n;
return 0;
}