Borderou de evaluare (job #2348052)

Utilizator Xutzu358Ignat Alex Xutzu358 Data 19 februarie 2019 12:21:12
Problema Pluricex Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void f(int)': main.cpp:23:13: error: 'void f(int)' redeclared as different kind of symbol void f(int p){ ^ main.cpp:3:10: note: previous declaration 'std::ifstream f' ifstream f("pluricex.in"); ^ main.cpp:38:14: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (int)' f(p+1); ^ main.cpp: In function 'int main()': main.cpp:47:8: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (int)' f(1); ^ Non zero exit status: 1

Ceva nu functioneaza?