Borderou de evaluare (job #9866)

Utilizator ViksenVictor-Nicolae Savu Viksen Data 27 ianuarie 2007 18:40:31
Problema Maxsecv 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:8: error: parse error before `for' user.cpp:8: error: parse error before `)' token user.cpp:8: warning: statement with no effect user.cpp: At global scope: user.cpp:15: error: parse error before `if' user.cpp:16: error: ISO C++ forbids declaration of `cr' with no type user.cpp:16: error: redefinition of `int cr' user.cpp:2: error: `int cr' previously declared here user.cpp:16: error: parse error before `}' token user.cpp:17: error: ISO C++ forbids declaration of `min' with no type user.cpp:17: error: redefinition of `int min' user.cpp:2: error: `int min' previously declared here user.cpp:17: error: ISO C++ forbids declaration of `max' with no type user.cpp:17: error: redefinition of `int max' user.cpp:2: error: `int max' previously declared here user.cpp:17: error: ISO C++ forbids declaration of `cr' with no type user.cpp:17: error: redefinition of `int cr' user.cpp:16: error: `int cr' previously defined here user.cpp:17: error: parse error before `}' token user.cpp:19: error: ISO C++ forbids declaration of `fclose' with no type user.cpp:19: error: `int fclose' redeclared as different kind of symbol /usr/include/stdio.h:206: error: previous declaration of `int fclose(FILE*)' user.cpp:19: error: invalid conversion from `_IO_FILE*' to `int' user.cpp:20: error: ISO C++ forbids declaration of `freopen' with no type

Ceva nu functioneaza?