Problem | horses |
---|---|
User | jeongwonho64 |
Submission Time | 2023-12-10 21:52:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
horses.cpp: In function ‘long long int qexp(long long int, long long int)’:
horses.cpp:112:24: error: ‘m’ was not declared in this scope
112 | ll half = qexp(a, b/2,m);
| ^
horses.cpp: In function ‘int init(int, int*, int*)’:
horses.cpp:131:9: error: ‘struct node’ has no member named ‘update’
131 | root->update(i,n-1,logX[i]);
| ^~~~~~
horses.cpp:137:9: error: ‘struct node’ has no member named ‘update’
137 | root->update(i,i,logY[i]);
| ^~~~~~
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 upda