Borderou de evaluare (job #1723948)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 1 iulie 2016 21:34:57
Problema Livada3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fi,"%d" ,&mat[1][i]); ^ user.cpp:39:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fi,"%d" ,&mat[i][1]); ^ user.cpp:34:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d%lld%d" ,&N,&M,&C,&R); ^ user.cpp:35:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%lld%lld%lld%lld%lld" ,&x,&y,&z,&w,&u); ^ user.cpp:37:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&mat[1][i]); ^ user.cpp:39:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&mat[i][1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbOK10
20ms744kbOK10
336ms2616kbOK10
452ms3004kbOK10
556ms3784kbOK10
668ms3784kbOK10
7368ms19788kbOK10
8Depăşit19788kbTime limit exceeded.0
9Depăşit19784kbTime limit exceeded.0
100ms352kbOK10
Punctaj total80

Ceva nu functioneaza?