Problem binarycoins
User 12345
Submission Time 2025-07-12 11:46:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int32_t main()’:
binarycoins.cpp:25:12: error: cannot convert ‘std::vector<long long int>::empty’ from type ‘bool (std::vector<long long int>::)() const noexcept’ to type ‘bool’
25 | while (!v.empty){ //count number of binary 1s
| ^~~~~
binarycoins.cpp:25:12: error: in argument to unary !