| Problem | grassplant |
|---|---|
| User | Tyx2019 |
| Submission Time | 2024-02-20 13:09:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
grassplant.cpp: In function ‘int main()’:
grassplant.cpp:184:20: error: ‘struct node’ has no member named ‘upd’
184 | seggs->upd(nodetopre[y] + 1, nodetopre[x], 1);
| ^~~
grassplant.cpp:191:58: error: expression cannot be used as a function
191 | cout << seggs->sum(nodetopre[x], nodetopre[x]) << "\n";
| ^