Borderou de evaluare (job #728629)

Utilizator alexalbu95Albu Alexandru alexalbu95 Data 28 martie 2012 20:35:02
Problema Pietre2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:19: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:21: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘int lee(int, int)’: user.cpp:35: warning: unused variable ‘ok’ user.cpp:63: warning: no return statement in function returning non-void user.cpp: In function ‘int main()’: user.cpp:76: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:76: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ user.cpp:76: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’ user.cpp:77: error: ‘g’ was not declared in this scope user.cpp:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:68: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result

Ceva nu functioneaza?