Oro uosto ekspresas

Taškai: 0

Compile: FAIL

express.cpp: In function ‘void read_d(int, int (*)[505], std::vector<std::set<int> >&)’: express.cpp:25:9: error: ‘inf’ was not declared in this scope; did you mean ‘int’? 25 | inf >> tx >> ty >> tz; | ^~~ | int express.cpp: In function ‘int main()’: express.cpp:76:17: error: reference to ‘prev’ is ambiguous 76 | prev = vm[i][*it]; | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:66, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/ios:40, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from express.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_funcs.h:224:5: note: candidates are: ‘template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)’ 224 | prev(_BidirectionalIterator __x, typename | ^~~~ express.cpp:17:20: note: ‘int prev’ 17 | int N, S, E, M, K, prev, existed; | ^~~~ express.cpp:83:43: error: reference to ‘prev’ is ambiguous 83 | vm[i][*it] = vm[*it][i] = prev; | ^~~~ In file included from /usr/include/c++/11/bits/stl_algobase.h:66, from /usr/include/c++/11/bits/char_traits.h:39, from /usr/include/c++/11/ios:40, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from express.cpp:1: /usr/include/c++/11/bits/stl_iterator_base_funcs.h:224:5: note: candidates are: ‘template<class _BidirectionalIterator> _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)’ 224 | prev(_BidirectionalIterator __x, typename | ^~~~ express.cpp:17:20: note: ‘int prev’ 17 | int N, S, E, M, K, prev, existed; | ^~~~

nr.resulttimemessage