Problem | smurfpaths |
---|---|
User | Reverberate |
Submission Time | 2024-02-14 16:56:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurfpaths.cpp: In function ‘void upd()’:
smurfpaths.cpp:102:32: error: cannot convert ‘long long int’ to ‘std::pair<long long int, long long int>’
102 | root->update(-INF,curr.second);
| ~~~~~^~~~~~
| |
| long long int
smurfpaths.cpp:51:37: note: initializing argument 2 of ‘void node::update(long long int, std::pair<long long int, long long int>)’
51 | void update(int x, pair<int,int>v){
| ~~~~~~~~~~~~~^