Policija
- [1] 2025-03-18 13:30 (0)
- [2] 2025-03-18 15:50 (0)
- [3] 2025-03-18 15:53 (0)
- [4] 2025-03-18 15:54 (0)
- [5] 2025-03-18 15:54 (0)
- [6] 2025-03-18 15:55 (0)
- [7] 2025-03-18 15:58 (10)
- [8] 2025-03-18 17:20 (10)
- [9] 2025-03-18 22:05 (100)
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. | result | time | message |
---|