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

Compile Error

hallucinations.cpp: In function ‘int main()’:
hallucinations.cpp:31:12: error: ‘n’ was not declared in this scope
31 | int a_mod[n];
| ^
hallucinations.cpp:34:10: error: ‘a_mod’ was not declared in this scope
34 | cin >> a_mod[n];
| ^~~~~
hallucinations.cpp:47:1: error: expected ‘}’ at end of input
47 | }
| ^
hallucinations.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^