Problem | car |
---|---|
User | MS |
Submission Time | 2023-11-18 22:25:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
car.cpp: In function ‘int main()’:
car.cpp:39:19: error: expected unqualified-id before ‘<<’ token
39 | priority_queue<<pair<int,int>>tovisit;
| ^~
car.cpp:45:13: error: ‘tovisit’ was not declared in this scope
45 | if (tovisit.empty()){
| ^~~~~~~
car.cpp:70:29: error: ‘check’ was not declared in this scope
70 | }else if(i.a == check){
| ^~~~~
car.cpp:71:17: error: ‘tovisit’ was not declared in this scope
71 | tovisit.push(make_pair(i.d,i.b))
| ^~~~~~~
car.cpp:73:17: error: ‘tovisit’ was not declared in this scope
73 | tovisit.push(make_pair(i.d,i.a))
| ^~~~~~~