Problem calc
User AndyChen
Submission Time 2026-08-27 20:22:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

calc.cpp: In function ‘int main()’:
calc.cpp:19:11: error: cannot convert ‘std::vector<long long int>::empty’ from type ‘bool (std::vector<long long int>::)() const noexcept’ to type ‘bool’
19 | if (!a.empty){
| ^~~~~
calc.cpp:19:11: error: in argument to unary !