| Problem | ljubomora |
|---|---|
| User | aj |
| Submission Time | 2025-11-17 14:45:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ljubomora.cpp: In function ‘int main()’:
ljubomora.cpp:36:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
36 | ans = mid; // mid works, try smaller
| ^~~
| abs
ljubomora.cpp:43:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
43 | cout << ans << "\n";
| ^~~
| abs
ljubomora.cpp: At global scope:
ljubomora.cpp:48:5: error: expected declaration before ‘}’ token
48 | }
| ^
ljubomora.cpp:50:9: error: expected constructor, destructor, or type conversion before ‘(’ token
50 | sort(marble_color.begin(),marble_color.end());
| ^
ljubomora.cpp:52:5: error: expected unqualified-id before ‘return’
52 | return 0;
| ^~~~~~
ljubomora.cpp:53:1: error: expected declaration before ‘}’ token
53 | }
| ^