Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76386 欧阳槊远 14小鱼游泳 C++ Accepted 0 MS 272 KB 210 2024-06-02 14:04:28

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int x,b,c=0; cin>>x>>b; for(int i=1;i<=b;i++){ if(x<6){ c=c+250; } x++; if(x>7){ x=1; } } cout<<c; return 0; }