Problem guanine
User supercel980
Submission Time 2025-02-14 16:11:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:12:27: error: expected ‘;’ before ‘}’ token
12 | d.push_back(a)
| ^
| ;
13 | }
| ~
guanine.cpp:15:28: error: expected ‘;’ before ‘}’ token
15 | d.push_front(a)
| ^
| ;
16 | }
| ~
guanine.cpp:18:23: error: no matching function for call to ‘std::deque<std::__cxx11::basic_string<char> >::resize(std::string&)’
18 | d.resize(a)
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from guanine.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1317:7: note: candidate: ‘void std::deque<_Tp, _Alloc>: