Problem | swords |
---|---|
User | CKCodeBreaker55 |
Submission Time | 2025-01-06 21:31:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swords.cpp: In function ‘int main()’:
swords.cpp:14:9: error: no match for ‘operator[]’ (operand types are ‘std::pair<long long int, long long int>’ and ‘long long int’)
14 | swords[i].first = a;
| ^
swords.cpp:15:9: error: no match for ‘operator[]’ (operand types are ‘std::pair<long long int, long long int>’ and ‘long long int’)
15 | swords[i].second = b;
| ^