Problem hallucinations
User MrPuddleVon
Submission Time 2025-06-18 11:07:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hallucinations.cpp: In function ‘int main()’:
hallucinations.cpp:53:54: error: expected ‘}’ at end of input
53 | cout << prefix[R] - prefix[L - 1] << '\n';
| ^
hallucinations.cpp:52:16: note: to match this ‘{’
52 | } else {
| ^
hallucinations.cpp:53:54: error: expected ‘}’ at end of input
53 | cout << prefix[R] - prefix[L - 1] << '\n';
| ^
hallucinations.cpp:45:33: note: to match this ‘{’
45 | for (int i = 0; i < T; ++i) {
| ^
hallucinations.cpp:53:54: error: expected ‘}’ at end of input
53 | cout << prefix[R] - prefix[L - 1] << '\n';
| ^
hallucinations.cpp:4:12: note: to match this ‘{’
4 | int main(