Problem swords
User cobnet
Submission Time 2025-03-10 16:58:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:19:18: error: expression cannot be used as a function
19 | if(S[c].second()>maxB){
| ^
swords.cpp:20:30: error: expression cannot be used as a function
20 | useful++;maxB=S[c].second();
| ^