Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8242 | 邓小龙 | 14小鱼游泳 | C++ | Accepted | 0 MS | 264 KB | 263 | 2025-06-20 21:16:00 |
#include<bits/stdc++.h> using namespace std; int main(){ int x,n,ans=0; cin>>x>>n; x--; while(n--){ x=x%7+1; if(x<=5){ ans+=250; } else continue; } cout<<ans<<endl; return 0; }