Problem trollingbribritt
User Ush
Submission Time 2024-12-14 09:22:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trollingbribritt.cpp: In function ‘int main()’:
trollingbribritt.cpp:18:9: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
18 | if (dq.size !=0){
| ~~~^~~~
| ()
trollingbribritt.cpp:24:9: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
24 | if (dq.size > b+1){
| ~~~^~~~
| ()
trollingbribritt.cpp:27:12: error: expected ‘;’ before ‘}’ token
27 | cout<<"-1"}
| ^
| ;