Problem cinema
User wzhci11
Submission Time 2024-11-27 13:53:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cinema.cpp: In function ‘int main()’:
cinema.cpp:37:8: error: redeclaration of ‘long long int n’
37 | ll n, k, q, a, b, ans;
| ^
cinema.cpp:35:8: note: ‘long long int n’ previously declared here
35 | ll n, k, q;
| ^
cinema.cpp:37:11: error: redeclaration of ‘long long int k’
37 | ll n, k, q, a, b, ans;
| ^
cinema.cpp:35:11: note: ‘long long int k’ previously declared here
35 | ll n, k, q;
| ^
cinema.cpp:37:14: error: redeclaration of ‘long long int q’
37 | ll n, k, q, a, b, ans;
| ^
cinema.cpp:35:14: note: ‘long long int q’ previously declared here
35 | ll n, k, q;
| ^
cinema.cpp:65:31: error: expected ‘;’ before ‘:’ token
65 | else occ.insert(a):
| ^
| ;