题解:P12609 [CCC 2025 Junior] Roller Coaster Ride
解题思路:
这道题目内容说了很多,其实主要内容就是要比较够不够坐。如果 no。否则就是够坐,输出 yes。不愧是 Junior 组的,真的很简单。
代码:
#include <bits/stdc++.h>
using namespace std;
int n, c, p;
int main () {
cin >> n >> c >> p;
if (c * p < n) cout << "no";
else cout << "yes";
return 0;
}