Problem nystudy
User loafie
Submission Time 2025-11-16 22:49:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nystudy.cpp: In function ‘int main()’:
nystudy.cpp:2:5: error: ‘ll’ was not declared in this scope
2 | ll n, q;
| ^~
nystudy.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> n >> q;
| ^~~
nystudy.cpp:3:12: error: ‘n’ was not declared in this scope
3 | cin >> n >> q;
| ^
nystudy.cpp:3:17: error: ‘q’ was not declared in this scope
3 | cin >> n >> q;
| ^
nystudy.cpp:5:5: error: ‘vector’ was not declared in this scope
5 | vector<ll> books(n);
| ^~~~~~
nystudy.cpp:5:16: error: ‘books’ was not declared in this scope
5 | vector<ll> books(n);
| ^~~~~
nystudy.cpp:6:5: error: ‘unordered_set’ was not declared in this scope
6 | unordered_set<ll> present; // Set to track which books are still in the list
| ^~~~~~~~