Problem trollingbribritt
User Red123
Submission Time 2025-08-15 15:47:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trollingbribritt.cpp: In function ‘int main()’:
trollingbribritt.cpp:18:14: error: cannot convert ‘std::deque<long long int>::empty’ from type ‘bool (std::deque<long long int>::)() const noexcept’ to type ‘bool’
18 | if(x.empty){
| ^
trollingbribritt.cpp:28:21: error: invalid operands of types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’} and ‘const char [2]’ to binary ‘operator<<’
28 | cout < x[v - 1] << "\n";