Borderou de evaluare (job #4215)

Utilizator be_smartellora be_smart Data 1 ianuarie 2007 15:45:00
Problema Energii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5: error: parse error before `int' user.cpp:8: error: ISO C++ forbids declaration of `v' with no type user.cpp:8: error: invalid initializer user.cpp:9: error: `stdin' was not declared in this scope user.cpp:9: error: ISO C++ forbids declaration of `freopen' with no type user.cpp:9: error: `int freopen' redeclared as different kind of symbol /usr/include/stdio.h:249: error: previous declaration of `FILE* freopen(const char*, const char*, FILE*)' user.cpp:9: error: initializer list being treated as compound expression user.cpp:10: error: `stdout' was not declared in this scope user.cpp:10: error: ISO C++ forbids declaration of `freopen' with no type user.cpp:10: error: redefinition of `int freopen' user.cpp:9: error: `int freopen' previously defined here user.cpp:10: error: initializer list being treated as compound expression user.cpp:11: error: `G' was not declared in this scope user.cpp:11: error: ISO C++ forbids declaration of `scanf' with no type user.cpp:11: error: `int scanf' redeclared as different kind of symbol /usr/include/stdio.h:399: error: previous declaration of `int scanf(const char*, ...)' user.cpp:11: error: initializer list being treated as compound expression user.cpp:12: error: `W' was not declared in this scope user.cpp:12: error: ISO C++ forbids declaration of `scanf' with no type user.cpp:12: error: redefinition of `int scanf' user.cpp:11: error: `int scanf' previously defined here user.cpp:12: error: initializer list being treated as compound expression

Ceva nu functioneaza?