Problem llis
User haydendoo
Submission Time 2023-01-08 14:42:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

llis.cpp: In function ‘void solve()’:
llis.cpp:286:22: error: no matching function for call to ‘node::upd(long long int&, pi&)’
286 | root->upd(a[0],dp[0]);
| ^
llis.cpp:262:7: note: candidate: ‘void node::upd(long long int, long long int, long long int)’
262 | void upd(int x, int y, int z) {
| ^~~
llis.cpp:262:7: note: candidate expects 3 arguments, 2 provided
llis.cpp:288:53: error: no matching function for call to ‘node::upd(long long int&, pi&)’
288 | if(a[i]==1) { dp[i] = {1,i}; root->upd(a[i], dp[i]); continue; }
| ^
llis.cpp:262:7: note: candidate: ‘void node::upd(long long int, long long int, long long int)’
262 | void upd(int x, int y, int z) {
| ^~~
llis.cpp:262:7: note: candidate expects 3 arguments, 2 provided
llis.cpp:291:40: error: no matching function for call to ‘node::upd(long long int&, pi&)’