Borderou de evaluare (job #1151251)
Utilizator | Data | 23 martie 2014 23:04:23 | |
---|---|---|---|
Problema | Taie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:137:28: error: no matching function for call to ‘shuffle(std::vector<pct>::iterator, std::vector<pct>::iterator)’
shuffle(B.begin(), B.end());
^
user.cpp:137:28: note: candidate is:
In file included from /usr/local/include/c++/4.8.0/algorithm:62:0,
from user.cpp:5:
/usr/local/include/c++/4.8.0/bits/stl_algo.h:4390:5: note: template<class _RAIter, class _UGenerator> void std::shuffle(_RAIter, _RAIter, _UGenerator&&)
shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last,
^
/usr/local/include/c++/4.8.0/bits/stl_algo.h:4390:5: note: template argument deduction/substitution failed:
user.cpp:137:28: note: candidate expects 3 arguments, 2 provided
shuffle(B.begin(), B.end());
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !