题解 | A58891.假期阅读
2025-12-13 16:31:12
发布于:广东
8阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int n , k , t;
int main(){
cin >> n >> k >> t;
if(n > k*t){ //当总页数大于假期共读页数时
cout << k*t; //输出假期共读页数
}
else{ //当总页数小于假期共读页数时
cout << n; //输出总页数
}
return 0;
}
这里空空如也


有帮助,赞一个