Problem swords
User wrizz69
Submission Time 2024-12-18 11:41:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:14:17: error: ‘struct std::pair<int, int>’ has no member named ‘se’
14 | if(p[i].se >maxd) {
| ^~
swords.cpp:15:20: error: ‘arr’ was not declared in this scope
15 | maxd = arr[i].se;
| ^~~