Borderou de evaluare (job #727802)

Utilizator veleanduAlex Velea veleandu Data 28 martie 2012 12:00:33
Problema Party 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:35: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:36: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:39: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:39: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘long int*’ user.cpp:39: warning: format ‘%d’ expects type ‘int*’, but argument 4 has type ‘long int*’ user.cpp:61: error: ‘srand’ was not declared in this scope user.cpp:64: error: ‘rand’ was not declared in this scope user.cpp:94: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:97: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:101: error: ‘rand’ was not declared in this scope user.cpp:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?