Borderou de evaluare (job #1964872)

Utilizator mariusn01Marius Nicoli mariusn01 Data 13 aprilie 2017 19:17:47
Problema Bila Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f,"%d %d",&N, &M); ^ user.cpp:47:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:50:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f,"%d",&x); ^ user.cpp:67:10: warning: array subscript has type ‘char’ [-Wchar-subscripts] P[L[i]][C[i]] = K; ^ user.cpp:67:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] P[L[i]][C[i]] = K; ^ user.cpp:47:26: 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:50:20: 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
10ms496kbIncorect0
20ms492kbIncorect0
30ms492kbIncorect0
40ms488kbIncorect0
50ms488kbIncorect0
60ms492kbIncorect0
70ms492kbIncorect0
80ms492kbIncorect0
90ms492kbIncorect0
100ms492kbIncorect0
Punctaj total0

Ceva nu functioneaza?