Problem swords
User nutzzzz
Submission Time 2025-01-21 20:46:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:44:3: error: ‘p’ was not declared in this scope
44 | p = a[i];
| ^
swords.cpp:45:9: error: request for member ‘second’ in ‘i’, which is of non-class type ‘int’
45 | if (i.second > mx) {
| ^~~~~~