Problem swords
User usernamehere
Submission Time 2024-02-12 14:37:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:5:12: error: request for member ‘second’ in ‘suffmax[(i + 1)]’, which is of non-class type ‘int’
5 | #define se second
| ^~~~~~
swords.cpp:54:31: note: in expansion of macro ‘se’
54 | suffmax[i] = suffmax[i+1].se;
| ^~