Problem leftout
User thatlycheeoolongdrink
Submission Time 2025-06-18 13:42:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

leftout.cpp: In function ‘int main()’:
leftout.cpp:6:15: error: expected ‘;’ before ‘long’
6 | cin.tie(NULL)
| ^
| ;
leftout.cpp:9:7: error: ‘n’ was not declared in this scope
9 | cin>>n>>q;
| ^
leftout.cpp:9:10: error: ‘q’ was not declared in this scope
9 | cin>>n>>q;
| ^
leftout.cpp:16:16: error: ‘s’ was not declared in this scope
16 | if (x.top()==s) {
| ^
leftout.cpp:28:9: error: ‘s’ was not declared in this scope
28 | if (s!=n) {
| ^