Borderou de evaluare (job #17880)

Utilizator anna_bozianuBozianu Ana anna_bozianu Data 17 februarie 2007 11:37:57
Problema Sum Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3: error: parse error before `int' user.cpp:6: error: ISO C++ forbids declaration of `f' with no type user.cpp:6: error: invalid conversion from `FILE*' to `int' user.cpp:7: error: ISO C++ forbids declaration of `f' with no type user.cpp:7: error: redefinition of `int f' user.cpp:6: error: `int f' previously declared here user.cpp:7: error: invalid conversion from `FILE*' to `int' user.cpp:8: error: ISO C++ forbids declaration of `fscanf' with no type user.cpp:8: error: `int fscanf' redeclared as different kind of symbol /usr/include/stdio.h:394: error: previous declaration of `int fscanf(FILE*, const char*, ...)' user.cpp:8: error: initializer list being treated as compound expression user.cpp:8: error: invalid conversion from `long int*' to `int' user.cpp:9: error: parse error before `for' user.cpp:9: error: syntax error before `<=' token user.cpp:9: error: syntax error before `++' token user.cpp:12: error: ISO C++ forbids declaration of `d' with no type user.cpp:12: error: conflicting types for `int d' user.cpp:2: error: previous declaration as `long int d' user.cpp:12: error: ISO C++ forbids declaration of `m' with no type user.cpp:12: error: conflicting types for `int m' user.cpp:2: error: previous declaration as `long int m' user.cpp:12: error: ISO C++ forbids declaration of `k' with no type user.cpp:12: error: conflicting types for `int k' user.cpp:2: error: previous declaration as `long int k'

Ceva nu functioneaza?