Borderou de evaluare (job #943228)

Utilizator Stefex09Stefan Teodorescu Stefex09 Data 24 aprilie 2013 17:56:16
Problema Sortari Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void random()’: user.cpp:33: error: new declaration ‘void random()’ /usr/include/stdlib.h:327: error: ambiguates old declaration ‘long int random()’ user.cpp: In function ‘int main()’: user.cpp:70: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’ user.cpp:71: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’ user.cpp:71: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘short int*’ user.cpp:74: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’ user.cpp:74: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘short int*’ user.cpp:68: warning: unused variable ‘j’ user.cpp:64: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:65: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:70: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:71: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:74: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?