Borderou de evaluare (job #2117031)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 28 ianuarie 2018 13:47:05
Problema Elicop Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:60:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(f,"%d",&V[i][j]); ^ user.cpp:57:28: 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:60:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&V[i][j]); ^ user.cpp:64:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&Q); ^ user.cpp:68:57: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d %d %d",&x1,&y1,&x2,&y2,&sens); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbLike a boss !10
20ms272kbLike a boss !10
30ms280kbLike a boss !10
40ms280kbLike a boss !10
50ms276kbLike a boss !10
60ms272kbLike a boss !10
70ms280kbLike a boss !10
80ms280kbLike a boss !10
90ms280kbLike a boss !10
100ms280kbLike a boss !10
Punctaj total100

Ceva nu functioneaza?