Problem ljubomora
User xyzidk9
Submission Time 2026-04-24 16:21:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ljubomora.cpp: In function ‘int main()’:
ljubomora.cpp:8:13: error: ‘hi’ was not declared in this scope
8 | int lo = 0;hi = 1000,ans = 0;
| ^~
ljubomora.cpp:8:23: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
8 | int lo = 0;hi = 1000,ans = 0;
| ^~~
| abs
ljubomora.cpp:20:4: error: ‘low’ was not declared in this scope; did you mean ‘lo’?
20 | low = x + 1;
| ^~~
| lo