Problem | pythonlist |
---|---|
User | AliLam |
Submission Time | 2025-06-18 09:23:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pythonlist.cpp: In function ‘int main()’:
pythonlist.cpp:6:13: error: ‘sync_with_studio’ was not declared in this scope
6 | ios_base:s:sync_with_studio(0);
| ^~~~~~~~~~~~~~~~
pythonlist.cpp:11:6: error: invalid use of member function ‘std::stack<_Tp, _Sequence>::size_type std::stack<_Tp, _Sequence>::size() const [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >; std::stack<_Tp, _Sequence>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
11 | stk.size = 0;
| ~~~~^~~~
| ()
pythonlist.cpp:15:7: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
15 | cin << A;
| ~~~ ^~ ~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
pythonlist.cpp:15:7: note: candidate: ‘operator<<(int, int)’ <built-in>