Pagini recente » Borderou de evaluare (job #831286) | Borderou de evaluare (job #1259035) | Borderou de evaluare (job #2030653) | Borderou de evaluare (job #1472961) | Borderou de evaluare (job #2080271)
Borderou de evaluare (job #2080271)
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 |
1 | 0ms | 464kb | OKAY! | 10 |
2 | 0ms | 472kb | OKAY! | 10 |
3 | 0ms | 476kb | OKAY! | 10 |
4 | 0ms | 480kb | OKAY! | 10 |
5 | 0ms | 492kb | OKAY! | 10 |
6 | 0ms | 512kb | OKAY! | 10 |
7 | 0ms | 516kb | OKAY! | 10 |
8 | 0ms | 528kb | OKAY! | 10 |
9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 460kb | OKAY! | 10 |
Punctaj total | 90 |