Borderou de evaluare (job #2080271)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 2 decembrie 2017 18:11:41
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:30:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d", &v[i][j]); ^ user.cpp:34:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d", &c[i]); ^ user.cpp:53:31: warning: narrowing conversion of ‘x’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:53:31: warning: narrowing conversion of ‘y’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:53:45: warning: narrowing conversion of ‘(((int)v[nx][ny]) + m)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:53:31: warning: narrowing conversion of ‘curr’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:59:31: warning: narrowing conversion of ‘x’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:59:31: warning: narrowing conversion of ‘y’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:59:45: warning: narrowing conversion of ‘(((int)v[nx][ny]) + m)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:59:31: warning: narrowing conversion of ‘curr’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:66:31: warning: narrowing conversion of ‘x’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:66:31: warning: narrowing conversion of ‘y’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:66:45: warning: narrowing conversion of ‘(((int)v[nx][ny]) + m)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:66:31: warning: narrowing conversion of ‘curr’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:72:31: warning: narrowing conversion of ‘x’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:72:31: warning: narrowing conversion of ‘y’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:72:45: warning: narrowing conversion of ‘(((int)v[nx][ny]) + m)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:72:31: warning: narrowing conversion of ‘curr’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] d[nx][ny] = {1, x, y, m + v[nx][ny], curr}; ^ user.cpp:27: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
10ms464kbOKAY!10
20ms472kbOKAY!10
30ms476kbOKAY!10
40ms480kbOKAY!10
50ms492kbOKAY!10
60ms512kbOKAY!10
70ms516kbOKAY!10
80ms528kbOKAY!10
912msDepăşitMemory limit exceeded.0
100ms460kbOKAY!10
Punctaj total90

Ceva nu functioneaza?