| Problem | gfriendmania |
|---|---|
| User | Dolphy |
| Submission Time | 2025-12-09 21:20:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gfriendmania.cpp: In function ‘int32_t main()’:
gfriendmania.cpp:60:61: error: no matching function for call to ‘node::upd(long long int&, int)’
60 | for (int i=1; i<=n; i++) {cin >> a[i]; root->upd(a[i], 1);}
| ^
gfriendmania.cpp:28:9: note: candidate: ‘void node::upd(long long int, long long int, long long int)’
28 | void upd(int x, int y, int v){
| ^~~
gfriendmania.cpp:28:9: note: candidate expects 3 arguments, 2 provided