Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2385 | 杨洋杰 | 14小鱼游泳 | C++ | Wrong Answer | 0 MS | 268 KB | 311 | 2023-12-30 11:10:01 |
#include<iostream> using namespace std; int main(){ long long n,x,g=0; cin>>x>>n; while(n>0){ g=g+250; n--; x++; if(x==6) g=g-250; if(x==7){ g=g-250; x=1; } } cout<<g<<endl; return 0; }
------Input------
2 47
------Answer-----
8500
------Your output-----
7750