Problem skips
User kiwiwi
Submission Time 2025-06-16 16:57:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

skips.cpp: In function ‘int main()’:
skips.cpp:13:14: error: expected ‘;’ before ‘}’ token
13 | cin >> m[i]
| ^
| ;
14 | }
| ~
skips.cpp:30:6: error: ‘zerostart’ was not declared in this scope
30 | if (zerostart < onestart) {
| ^~~~~~~~~
skips.cpp:30:18: error: ‘onestart’ was not declared in this scope
30 | if (zerostart < onestart) {
| ^~~~~~~~
skips.cpp:31:26: error: ‘zerocounter’ was not declared in this scope
31 | result = zerostart*2 - zerocounter*d;
| ^~~~~~~~~~~
skips.cpp:33:25: error: ‘onecounter’ was not declared in this scope
33 | result = onestart*2 - onecounter*d;
| ^~~~~~~~~~