Problem | swords |
---|---|
User | cobnet |
Submission Time | 2025-03-10 16:59:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swords.cpp: In function ‘int main()’:
swords.cpp:13:19: error: expression cannot be used as a function
13 | cin>>S[c].first()>>S[c].second();
| ^
swords.cpp:13:34: error: expression cannot be used as a function
13 | cin>>S[c].first()>>S[c].second();
| ^
swords.cpp:18:18: error: expression cannot be used as a function
18 | if(S[c].second()>maxB){
| ^
swords.cpp:19:30: error: expression cannot be used as a function
19 | useful++;maxB=S[c].second();
| ^