Problem waterbottles3
User darius0
Submission Time 2024-12-09 10:14:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbottles3.cpp: In function ‘int main()’:
waterbottles3.cpp:18:15: error: request for member ‘begin’ in ‘w’, which is of non-class type ‘long long int [n]’
18 | c = count(w.begin(),w.end(),0);
| ^~~~~
waterbottles3.cpp:18:25: error: request for member ‘end’ in ‘w’, which is of non-class type ‘long long int [n]’
18 | c = count(w.begin(),w.end(),0);
| ^~~