Policija

Taškai: 0

Compile: FAIL

policija.cpp: In function ‘int main()’: policija.cpp:25:39: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’ 25 | graf[duom[i].first.first].first = duom[i].first.second-1; | ^~~~~ policija.cpp:26:39: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’ 26 | graf[duom[i].first.first].second = duom[i].second; | ^~~~~~ policija.cpp:27:40: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’ 27 | graf[duom[i].first.second].first = duom[i].first.first-1; | ^~~~~ policija.cpp:28:40: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’ 28 | graf[duom[i].first.second].second = duom[i].second; | ^~~~~~ policija.cpp:32:14: error: expected ‘,’ before ‘[’ token 32 | start[i] = INT_MAX; | ^ | , policija.cpp:32:14: error: expected identifier before ‘[’ token policija.cpp:32:27: error: expected ‘]’ before ‘;’ token 32 | start[i] = INT_MAX; | ^ policija.cpp: In lambda function: policija.cpp:32:27: error: expected ‘{’ before ‘;’ token policija.cpp: In function ‘int main()’: policija.cpp:33:5: error: expected primary-expression before ‘]’ token 33 | ] | ^ policija.cpp:48:5: error: expected primary-expression before ‘}’ token 48 | } | ^

nr.resulttimemessage