Borderou de evaluare (job #2080277)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 2 decembrie 2017 18:14:54
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d", &v[i][j]); ^ user.cpp:33:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d", &c[i]); ^ user.cpp:52:31: warning: narrowing conversion of ‘x’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:52:31: warning: narrowing conversion of ‘y’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:52:42: warning: narrowing conversion of ‘(((int)v[nx][ny]) + m)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:52:31: warning: narrowing conversion of ‘curr’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:58:31: warning: narrowing conversion of ‘x’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:58:31: warning: narrowing conversion of ‘y’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:58:42: warning: narrowing conversion of ‘(((int)v[nx][ny]) + m)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:58:31: warning: narrowing conversion of ‘curr’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:65:31: warning: narrowing conversion of ‘x’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:65:31: warning: narrowing conversion of ‘y’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:65:42: warning: narrowing conversion of ‘(((int)v[nx][ny]) + m)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:65:31: warning: narrowing conversion of ‘curr’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:71:31: warning: narrowing conversion of ‘x’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:71:31: warning: narrowing conversion of ‘y’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:71:42: warning: narrowing conversion of ‘(((int)v[nx][ny]) + m)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:71:31: warning: narrowing conversion of ‘curr’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {x, y, m + v[nx][ny], curr}; ^ user.cpp:26:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOKAY!10
20ms456kbOKAY!10
30ms460kbOKAY!10
40ms468kbOKAY!10
50ms480kbOKAY!10
60ms492kbOKAY!10
70ms500kbOKAY!10
80ms504kbOKAY!10
912msDepăşitMemory limit exceeded.0
100ms448kbOKAY!10
Punctaj total90

Ceva nu functioneaza?