Problem | pythonlist |
---|---|
User | PyAce |
Submission Time | 2025-06-18 09:28:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pythonlist.cpp: In function ‘int main()’:
pythonlist.cpp:8:7: error: ‘base_sync_with_stdio’ is not a member of ‘std::ios’ {aka ‘std::basic_ios<char>’}
8 | ios::base_sync_with_stdio(0);
| ^~~~~~~~~~~~~~~~~~~~
pythonlist.cpp:9:2: error: ‘cin_tie’ was not declared in this scope
9 | cin_tie(0);
| ^~~~~~~
pythonlist.cpp:17:7: error: ‘Cnum’ was not declared in this scope; did you mean ‘CNum’?
17 | if (Cnum == 1) {
| ^~~~
| CNum
pythonlist.cpp:21:26: error: expected ‘;’ before ‘LastIndex’
21 | LastIndex = vec.back()
| ^
| ;
22 | LastIndex = vec.pop_back()
| ~~~~~~~~~
pythonlist.cpp:25:1: error: expected primary-expression before ‘)’ token
25 | )
| ^
pythonlist.cpp:25:1: error: expected ‘}’ at end of input
pythonlist.cpp:7:15: note: to match this ‘{’
7 | sig