Problem | runaway |
---|---|
User | JoshJuice |
Submission Time | 2025-07-14 12:34:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
runaway.cpp: In function ‘int main()’:
runaway.cpp:44:36: error: ‘temp’ was not declared in this scope
44 | else if (idx == m) cout << n-a[temp-1] << '\n';
| ^~~~
runaway.cpp:45:21: error: ‘temp’ was not declared in this scope
45 | else cout << (a[temp]-a[temp-1]-2)/2+1 << '\n';
| ^~~~