Borderou de evaluare (job #1582717)

Utilizator vandroptenAlex Iordachescu vandropten Data 28 ianuarie 2016 12:53:53
Problema Cartele Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d%d", &n, &c); ^ user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:52:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(fin, "%d", &sablon[i][j]); ^ user.cpp:60:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(fin, "%d", &cartela[i][j]); ^ user.cpp:48:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &c); ^ user.cpp:52:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &sablon[i][j]); ^ user.cpp:60:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &cartela[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms428kbIncorect00
20ms428kbIncorect0
30ms432kbIncorect0
40ms432kbIncorect0
50ms428kbIncorect0
60ms428kbIncorect00
70ms428kbIncorect0
80ms428kbIncorect0
90ms432kbIncorect0
100ms424kbIncorect0
Punctaj total0

Ceva nu functioneaza?