Problem | factories |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-14 11:38:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
factories.cpp: In function ‘void build(long long int)’:
factories.cpp:44:56: error: too few arguments to function ‘long long int centroidfind(long long int, long long int, long long int)’
44 | int centroid = get_centroid(u, u, centroidfind(u, u));
| ^
factories.cpp:28:5: note: declared here
28 | int centroidfind(int u, int p, int size){
| ^~~~~~~~~~~~
factories.cpp:44:20: error: ‘get_centroid’ was not declared in this scope; did you mean ‘add_centroid’?
44 | int centroid = get_centroid(u, u, centroidfind(u, u));
| ^~~~~~~~~~~~
| add_centroid
factories.cpp:45:5: error: ‘blocked’ was not declared in this scope; did you mean ‘clock’?
45 | blocked[centroid] = true;
| ^~~~~~~
| clock
factories.cpp:46:18: error: ‘c’ was not declared in this scope
46 | add_centroid(c, c, c);