Borderou de evaluare (job #1980733)

Utilizator rares96cheseliRares Cheseli rares96cheseli Data 13 mai 2017 21:54:39
Problema Arbore3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void f(int&)’: user.cpp:12:14: error: ‘void f(int&)’ redeclared as different kind of symbol void f(int &x) { ^ user.cpp:5:10: error: previous declaration of ‘std::ifstream f’ ifstream f("arbore3.in"); ^ user.cpp: In function ‘int main()’: user.cpp:42:12: error: no match for call to ‘(std::ifstream {aka std::basic_ifstream<char>}) (int&)’ f(x); f(a[i]); ^ user.cpp:42:21: error: no match for call to ‘(std::ifstream {aka std::basic_ifstream<char>}) (int&)’ f(x); f(a[i]); ^

Ceva nu functioneaza?