| Problem | variety |
|---|---|
| User | YSH2020 |
| Submission Time | 2026-04-26 11:10:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
variety.cpp: In function ‘int main()’:
variety.cpp:43:29: error: no matching function for call to ‘node::upd(long long int&)’
43 | root->upd(a[i].first.first), dp[a[i].first.first];
| ^
variety.cpp:17:7: note: candidate: ‘void node::upd(long long int, long long int)’
17 | void upd(int n, int v) {
| ^~~
variety.cpp:17:7: note: candidate expects 2 arguments, 1 provided