Problem lightningrod
User hwy
Submission Time 2023-06-08 17:19:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:12:7: error: ‘class std::stack<int>’ has no member named ‘reserve’
12 | X.reserve(N);
| ^~~~~~~
lightningrod.cpp:13:7: error: ‘class std::stack<int>’ has no member named ‘reserve’
13 | Y.reserve(N);
| ^~~~~~~