Borderou de evaluare (job #1146948)
Utilizator | Data | 19 martie 2014 14:09:05 | |
---|---|---|---|
Problema | Eliminare | 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:58:53: error: invalid initialization of non-const reference of type ‘std::istream& {aka std::basic_istream<char>&}’ from an rvalue of type ‘std::ifstream {aka std::basic_ifstream<char>}’
tie(n, m, v, e) = readData(ifstream("eliminare.in"));
^
user.cpp:33:58: error: in passing argument 1 of ‘std::tuple<int, int, std::vector<int, std::allocator<int> >, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > > readData(std::istream&)’
tuple<int, int, vector<int>, vector< pair<int, int> > > readData(istream& in) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !