Problem | cuberoot |
---|---|
User | newperson |
Submission Time | 2025-01-25 22:26:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘ll bs(ll, ll, ll)’:
cuberoot.cpp:15:31: error: expected primary-expression before ‘<<’ token
15 | if (mp*mp*mp == x) return << mp;
| ^~
cuberoot.cpp:19:26: error: too few arguments to function ‘ll bs(ll, ll, ll)’
19 | else return bs(mp+1,r);
| ^
cuberoot.cpp:9:4: note: declared here
9 | ll bs(ll l, ll r, ll x){
| ^~
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:27:20: error: ‘i’ was not declared in this scope
27 | for (ll t = 0; i<n; i++){
| ^
cuberoot.cpp:27:22: error: ‘n’ was not declared in this scope
27 | for (ll t = 0; i<n; i++){
| ^