| Problem | exoticplants |
|---|---|
| User | StormyGood |
| Submission Time | 2025-12-27 15:13:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
exoticplants.cpp: In function ‘int main()’:
exoticplants.cpp:16:17: error: ‘K’ was not declared in this scope
16 | int dist[V+1][K+1];
| ^
exoticplants.cpp:17:10: error: ‘dist’ was not declared in this scope
17 | memset(dist,1e18,sizeof(dist));
| ^~~~
exoticplants.cpp:35:67: error: no matching function for call to ‘std::priority_queue<std::pair<long long int, std::pair<long long int, long long int> >, std::vector<std::pair<long long int, std::pair<long long int, long long int> > >, std::greater<std::pair<long long int, std::pair<long long int, long long int> > > >::push(<brace-enclosed initializer list>)’
35 | pq.push({dist[node][portals]+weight,{destination,portals}});
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-l