Problem transportingpotatoes
User user123
Submission Time 2024-11-18 21:25:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

transportingpotatoes.cpp:3:8: error: ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} is not a template
3 | vector<string<int>> dist;
| ^~~~~~
transportingpotatoes.cpp:4:8: error: ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} is not a template
4 | vector<string<int>> c;
| ^~~~~~
transportingpotatoes.cpp: In function ‘void dijk(int, int)’:
transportingpotatoes.cpp:10:20: error: ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} is not a template
10 | priority_queue<string<int>,vector<string<int>>,greater<string<int>>> pq;
| ^~~~~~
transportingpotatoes.cpp:10:39: error: ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} is not a template
10 | priority_queue<string<int>,vector<string<int>>,greater<string<int>>> pq;
|