Borderou de evaluare (job #1888341)

Utilizator bleo16783FMI Bleotiu Cristian bleo16783 Data 22 februarie 2017 01:37:28
Problema Cabana2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:46:11: error: conflicting declaration ‘int f [2000]’ int f[2000]; ^ user.cpp:12:10: error: ‘f’ has a previous declaration as ‘std::ifstream f’ ifstream f("cabana2.in"); ^ user.cpp: In function ‘int main()’: user.cpp:49:8: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’ R(n); ^ user.cpp:13:6: error: in passing argument 1 of ‘void R(long long int&)’ void R(long long &x) ^

Ceva nu functioneaza?