Problem guanine
User ensonchew
Submission Time 2025-06-06 11:53:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:25:32: error: expected ‘;’ before ‘)’ token
25 | for (int j = x; j < D.size()){
| ^
| ;
guanine.cpp:29:25: error: expected ‘;’ before ‘)’ token
29 | for (int j = 0; j < x){
| ^
| ;
guanine.cpp:30:7: error: invalid use of non-static member function ‘void std::deque<_Tp, _Alloc>::pop_front() [with _Tp = char; _Alloc = std::allocator<char>]’
30 | D.pop_front;
| ~~^~~~~~~~~
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:1605:7: note: declared here
1605 | pop_front() _GLIBCXX_NOEXCEPT
| ^~~~~~~~~