#include<iostream> using namespace std; int main(){ long long x, n, a = 0; cin >> x >> n; for(int i = 0; i < n; i++){ x++; if(x != 6 && x != 7){ a = a+250; } else if(x == 7){ x == 1; } } cout << a << endl; return 0; }
求大佬帮忙看看,谢谢了