| Problem | swords |
|---|---|
| User | bachnguyen123 |
| Submission Time | 2025-11-23 00:58:54 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
swords.cpp: In function ‘int main()’:
swords.cpp:19:67: error: no post-increment operator for type
19 | if(a[i].first <= a[d].first && a[i].second <= a[d].second) count++;
| ^~
swords.cpp:21:9: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator-’
21 | cout<<n-count;
| ~^~~~~~