Problem ljubomora
User Henries
Submission Time 2024-10-29 19:51:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ljubomora.cpp: In function ‘bool calc(std::vector<long long int>, long long int, long long int)’:
ljubomora.cpp:12:15: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
12 | children += num;
| ^~~
| enum
ljubomora.cpp: In function ‘void bsearch(std::vector<long long int>, long long int)’:
ljubomora.cpp:29:13: error: expected ‘;’ before ‘ub’
29 | ans = mid
| ^
| ;
30 | ub = mid -1;
| ~~