Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2214 | 孙浚轩 | 14小鱼游泳 | C++ | Wrong Answer | 0 MS | 260 KB | 232 | 2023-12-16 18:39:05 |
#include<iostream> using namespace std; int main() { int n,x,s=0; cin>>x>>n; if(x>=1&&x<=7) for(;n>=1;n--) { if(x>=6) s+=250; x=x%7+1; } cout<<s; return 0; }
------Input------
2 47
------Answer-----
8500
------Your output-----
3250