Problem shamelessad3
User CKCodeBreaker55
Submission Time 2024-12-07 10:51:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad3.cpp: In function ‘int main()’:
shamelessad3.cpp:16:3: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
16 | cnt = count(vec.begin(), vec.end(), A);
| ^~~
| int
shamelessad3.cpp:16:15: error: ‘vec’ was not declared in this scope
16 | cnt = count(vec.begin(), vec.end(), A);
| ^~~
shamelessad3.cpp:16:40: error: ‘count’ cannot be used as a function
16 | cnt = count(vec.begin(), vec.end(), A);
| ^