Problem party
User Leeyee
Submission Time 2026-08-17 17:55:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party.cpp: In function ‘int main()’:
party.cpp:28:12: error: ‘myVector’ was not declared in this scope
28 | if (find(myVector.begin(), myVector.end(), target) != myVector.end()){
| ^~~~~~~~
party.cpp:28:46: error: ‘target’ was not declared in this scope
28 | if (find(myVector.begin(), myVector.end(), target) != myVector.end()){
| ^~~~~~
party.cpp:29:17: error: ‘class std::stack<int>’ has no member named ‘front’
29 | int node = s.front();
| ^~~~~