Borderou de evaluare (job #1694856)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 26 aprilie 2016 01:43:15
Problema Euro3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf( input_file, "%d", &T ); ^ user.cpp:19:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf( input_file, "%d %d", &N, &S ); ^ user.cpp:19:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:27:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf( input_file, "%d", &V[i] ); ^ user.cpp:16:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( input_file, "%d", &T ); ^ user.cpp:19:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( input_file, "%d %d", &N, &S ); ^ user.cpp:27:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( input_file, "%d", &V[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbIncorect0
20ms288kbIncorect0
30ms292kbIncorect0
40ms288kbIncorect0
50ms292kbIncorect0
60ms308kbIncorect0
70ms308kbIncorect0
80ms316kbIncorect0
90ms316kbIncorect0
100ms312kbIncorect0
Punctaj total0

Ceva nu functioneaza?