Problem swords
User foodaholic
Submission Time 2024-11-23 21:53:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int countswords(int, std::vector<std::pair<int, int> >&)’:
swords.cpp:19:15: error: ‘usefulCount’ was not declared in this scope; did you mean ‘usefulcount’?
19 | ++usefulCount;
| ^~~~~~~~~~~
| usefulcount