题解
2025-05-04 09:29:03
发布于:浙江
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
const int a=250;
int k,b,sum=0;
cin>>k>>b;
while(b!=0){
if(k1||k2||k3||k4||k==5){
sum+=a;
}
k++;
b--;
if(k>7){
k=1;
}
}
cout<<sum;
return 0;
}
这里空空如也
有帮助,赞一个