Problem horses
User jeongwonho64
Submission Time 2023-12-10 21:53:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

horses.cpp: In function ‘int init(int, int*, int*)’:
horses.cpp:141:13: error: ‘qry’ is not a member of ‘fw’; did you mean ‘query’?
141 | return fw::qry(i+1)*y[i]%mod;
| ^~~
| query
horses.cpp: In function ‘int updateX(int, int)’:
horses.cpp:155:13: error: ‘qry’ is not a member of ‘fw’; did you mean ‘query’?
155 | return fw::qry(i+1)*y[i]%mod;
| ^~~
| query
horses.cpp: In function ‘int updateY(int, int)’:
horses.cpp:166:13: error: ‘qry’ is not a member of ‘fw’; did you mean ‘query’?
166 | return fw::qry(i+1)*y[i]%mod;
| ^~~
| query