Problem medianheap
User xyz
Submission Time 2024-01-19 14:45:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianheap.cpp: In function ‘int main()’:
medianheap.cpp:13:17: error: invalid type argument of unary ‘*’ (have ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’})
13 | if(*(cmd.at(2))=="u"){
| ^