Problem swords
User yongteckrice
Submission Time 2023-03-17 10:05:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:22:20: error: missing template arguments before ‘[’ token
22 | long maxdef{vector[0].second()}
| ^
swords.cpp:24:16: error: ‘i’ was not declared in this scope
24 | for(long i{1};i<N;i++)
| ^