Borderou de evaluare (job #1058088)

Utilizator ELHoriaHoria Cretescu ELHoria Data 15 decembrie 2013 01:32:40
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void solve(int, int)’: user.cpp:130:28: error: no matching function for call to ‘std::vector<short int>::swap(std::vector<short int>)’ G[v].swap(vector<short>()); ^ user.cpp:130:28: note: candidate is: In file included from /usr/local/include/c++/4.8.0/vector:64:0, from user.cpp:3: /usr/local/include/c++/4.8.0/bits/stl_vector.h:1108:7: note: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [with _Tp = short int; _Alloc = std::allocator<short int>] swap(vector& __x) ^ /usr/local/include/c++/4.8.0/bits/stl_vector.h:1108:7: note: no known conversion for argument 1 from ‘std::vector<short int>’ to ‘std::vector<short int>&’

Ceva nu functioneaza?