Pagini recente » Borderou de evaluare (job #2083062) | Borderou de evaluare (job #2247071) | Borderou de evaluare (job #1258811) | Borderou de evaluare (job #2213106) | Borderou de evaluare (job #2080277)
Borderou de evaluare (job #2080277)
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 |
1 | 0ms | 456kb | OKAY! | 10 |
2 | 0ms | 456kb | OKAY! | 10 |
3 | 0ms | 460kb | OKAY! | 10 |
4 | 0ms | 468kb | OKAY! | 10 |
5 | 0ms | 480kb | OKAY! | 10 |
6 | 0ms | 492kb | OKAY! | 10 |
7 | 0ms | 500kb | OKAY! | 10 |
8 | 0ms | 504kb | OKAY! | 10 |
9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 448kb | OKAY! | 10 |
Punctaj total | 90 |