Sukabinti žiedai
- [1] 2013-01-18 09:41 (0)
- [2] 2013-01-29 13:17 (100)
Taškai: 0
Compile: FAIL
ziedai.cpp: In function ‘void function(int, int, int, int, std::vector<int, std::allocator<int> >, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >)’: ziedai.cpp:14: error: invalid use of member (did you forget the ‘&’ ?) ziedai.cpp:16: error: no match for ‘operator&&’ in ‘(((std::vector<int, std::allocator<int> >*)vec.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<int, std::allocator<int> >, _Alloc = std::allocator<std::vector<int, std::allocator<int> > >](((unsigned int)i)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = int, _Alloc = std::allocator<int>](((unsigned int)j)) == a) && vec’ ziedai.cpp:16: note: candidates are: operator&&(bool, bool) <built-in> ziedai.cpp:17: error: expected primary-expression before ‘}’ token ziedai.cpp:17: error: expected ‘;’ before ‘}’ token ziedai.cpp: In function ‘int main()’: ziedai.cpp:24: error: ‘vecor’ was not declared in this scope ziedai.cpp:24: error: expected primary-expression before ‘int’ ziedai.cpp:24: error: expected ‘;’ before ‘int’
nr. | result | time | message |
---|