Problem | horses |
---|---|
User | jeongwonho64 |
Submission Time | 2023-12-10 21:52:54 |
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:27: error: too many arguments to function ‘long long int qexp(long long int, long long int)’
112 | ll half = qexp(a, b/2,mod);
| ^
horses.cpp:110:4: note: declared here
110 | ll qexp(ll a, ll b){
| ^~~~
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