Problem | race |
---|---|
User | Sans12345 |
Submission Time | 2024-04-02 19:49:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
race.cpp: In function ‘ll findcent(ll, ll, ll)’:
race.cpp:19:59: error: invalid conversion from ‘ll*’ {aka ‘int*’} to ‘ll’ {aka ‘int’} [-fpermissive]
19 | if(sz[child[0]]>csz/2) return findcent(child[0],x,sz);
| ^~
| |
| ll* {aka int*}
race.cpp:17:26: note: initializing argument 3 of ‘ll findcent(ll, ll, ll)’
17 | ll findcent(ll x,ll p,ll csz){
| ~~~^~~