ans

zhangjinghao 2023-12-14 17:49:04 2023-12-14 17:49:12 4 返回题目

#include<bits/stdc++.h>
using namespace std;
long long x,n,s;
int main(){
	cin>>x>>n;
	s=n/7*250*5;
	for(int i=1;i<=n%7;i++){
		if(x+i-1==6||x+i-1==7){
			continue;
		}
		s+=250;
	}
	cout<<s;
	return 0;
} 
{{ vote && vote.total.up }}