Problem toxic2
User PrunJuice
Submission Time 2025-03-21 15:13:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

toxic2.cpp: In function ‘void determine_type(int)’:
toxic2.cpp:13:16: error: cannot convert ‘std::vector<int>::empty’ from type ‘bool (std::vector<int>::)() const noexcept’ to type ‘bool’
13 | if (!A.empty && A[0] == 2){
| ^~~~~
toxic2.cpp:13:16: error: in argument to unary !