Run ID:107441
提交时间:2025-01-17 19:03:46
#include <iostream> using namespace std; int main() { int x, n; cin >> x >> n; int days = 0; while (n > 0) { if (x >= 1 && x <= 5) { days++; } x = (x % 7) + 1; n--; } int total = days * 250; cout << total << endl; return 0; }