Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147836 李明秦 14小鱼游泳 C++ Accepted 0 MS 268 KB 239 2026-02-08 16:29:11

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,n,sum=0; cin>>a>>b; int c=a; for(int i=1;i<=b;i++){ if(c<=5){ sum+=250; } if(c==7) { c=0; } c++; } cout<<sum<<endl; return 0; }