参考程序1
#include <iostream>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
// 计算最少天数
int days = n / m; // 先除以 m 得到整天数
if (n % m != 0) { // 如果还有剩余试卷,增加一天
days++;
}
cout << days << endl;
return 0;
}
参考程序2
#include<bits/stdc++.h>
using