Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147832 李朋秦 14小鱼游泳 C++ Accepted 1 MS 272 KB 217 2026-02-08 16:19:30

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { long long x,n,km=0; cin>>x>>n; for(int i=1;i<=n;i++){ if(x!=6&&x!=7){ km+=250; } x++; if(x>7)x=1; }cout<<km; return 0; }