提交时间:2020-10-31 18:50:28

运行 ID: 8237

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,week,day,c,sum=0; cin>>a>>b; week=b/7; b=b-week*7; if(b>5) b=5; day=week*5; sum=250*day+250*b; cout<<sum; return 0; }