Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
8335 葛冬杰 小鱼的航程(改进版) C++ Wrong Answer 0 0 MS 248 KB 214 2020-10-31 19:33:50

Tests(0/4):


#include<bits/stdc++.h> using namespace std; int main(){ int x,n; long long s; cin>>x>>n; for(int i=1;i<=n;i++){ if(x<=5){ s+=250; } x++; if(x==8) x=1; } s--; cout<<s; return 0; }


Judgement Protocol: