Problem shiritori_ex
User nutzzzz
Submission Time 2025-01-01 17:55:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shiritori_ex.cpp: In function ‘void test()’:
shiritori_ex.cpp:68:43: error: ‘id’ was not declared in this scope; did you mean ‘i’?
68 | if (d[i].len > mx) mx = d[i].len, id = d[i].ind;
| ^~
| i
shiritori_ex.cpp:68:53: error: ‘struct in’ has no member named ‘ind’; did you mean ‘id’?
68 | if (d[i].len > mx) mx = d[i].len, id = d[i].ind;
| ^~~
| id