Problem | candies_ioi |
---|---|
User | Pan |
Submission Time | 2024-09-01 01:42:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candies_ioi.cpp: In function ‘std::vector<int> distribute_candies(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’:
candies_ioi.cpp:128:55: error: ‘struct node’ has no member named ‘sum’
128 | if (root->maxx - root-> minn < c[i]) ans[i] = root->sum - root->minn;
| ^~~