Borderou de evaluare (job #2000214)

Utilizator workwork work work Data 12 iulie 2017 23:54:52
Problema Placare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(F, "%d%d ", &n, &m); ^ user.cpp:12:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:16:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(F, "%d", &x); ^ user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(F, "%d", &x); ^ user.cpp:12:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(F, "%d%d ", &n, &m); ^ user.cpp:16:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(F, "%d", &x); ^ user.cpp:31:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(F, "%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbIncorect0
20ms404kbIncorect0
30ms404kbIncorect0
40ms408kbIncorect0
50ms404kbIncorect0
60ms400kbIncorect0
70ms404kbIncorect0
80ms404kbIncorect0
90ms404kbIncorect0
100ms404kbIncorect0
Punctaj total0

Ceva nu functioneaza?