Borderou de evaluare (job #1694857)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 26 aprilie 2016 01:44:31
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
30ms288kbIncorect0
40ms284kbIncorect0
50ms288kbIncorect0
60ms308kbIncorect0
70ms312kbIncorect0
80ms312kbIncorect0
90ms312kbIncorect0
100ms312kbIncorect0
Punctaj total0

Ceva nu functioneaza?