Borderou de evaluare (job #662838)

Utilizator paul24090FMI - Balauru Paul paul24090 Data 17 ianuarie 2012 01:16:02
Problema Statistici de ordine Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int divide(int*, int, int)’: user.cpp:35: warning: deprecated conversion from string constant to ‘char*’ user.cpp:35: error: invalid conversion from ‘int’ to ‘const char*’ user.cpp:35: error: initializing argument 2 of ‘int sprintf(char*, const char*, ...)’ user.cpp:35: warning: format not a string literal and no format arguments user.cpp: In function ‘int main()’: user.cpp:52: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:53: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?