Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
4261 罗炜翰 小鱼的航程 C++ Wrong Answer 16 1 MS 260 KB 255 2025-01-05 17:23:43

Tests(1/6):


#include<iostream> using namespace std; int main() { int x,n,i = 0,j = 0; cin>>x>>n; for (i = 1;i <= n;i++) { if (x != 6 || x != 7) { j += 1; x += 1; } if (x == 7) { x = 1; } } cout<<j * (100 + 150) - 500; }


Judgement Protocol: