Borderou de evaluare (job #695058)

Utilizator supermitelArdelean Razvan Mitel supermitel Data 28 februarie 2012 10:15:50
Problema Livada 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: redeclaration of ‘int p’ user.cpp:8: error: ‘int p’ previously declared here user.cpp:12: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘int’ user.cpp:16: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘int’ user.cpp:17: error: expected ‘;’ before ‘if’ user.cpp:18: error: ‘else’ without a previous ‘if’ user.cpp:8: warning: unused variable ‘j’ user.cpp:8: warning: unused variable ‘nsoi’ user.cpp:6: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:7: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?