Pagini recente » Borderou de evaluare (job #1403586) | Borderou de evaluare (job #1874736) | Borderou de evaluare (job #1401488) | Borderou de evaluare (job #1663736) | Borderou de evaluare (job #1868435)
Borderou de evaluare (job #1868435)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:86: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(son.x >= 1 && son.x <= n && son.y >=1 && son.y <= n && !seen[son.x][son.y])
^
user.cpp:56:93: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(son.x >= 1 && son.x <= n && son.y >=1 && son.y <= n && !seen[son.x][son.y])
^
user.cpp:58:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
seen[son.x][son.y] = 1;
^
user.cpp:58:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
seen[son.x][son.y] = 1;
^
user.cpp:59:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dist + value[son.x][son.y] <= S)
^
user.cpp:59:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dist + value[son.x][son.y] <= S)
^
user.cpp:60:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q[dist + value[son.x][son.y]].push_back({son.x, son.y});
^
user.cpp:60:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q[dist + value[son.x][son.y]].push_back({son.x, son.y});
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxe2.in", "r", stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxe2.out", "w", stdout);
^
user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &S, &n);
^
user.cpp:33:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 372kb | Incorect | 0 |
2 | 0ms | 372kb | OK | 10 |
3 | 0ms | 380kb | OK | 10 |
4 | 0ms | 380kb | Incorect | 0 |
5 | 0ms | 384kb | OK | 10 |
6 | 0ms | 372kb | OK | 10 |
7 | 0ms | 424kb | Incorect | 0 |
8 | 0ms | 412kb | Incorect | 0 |
9 | 0ms | 448kb | Incorect | 0 |
10 | 4ms | 476kb | Incorect | 0 |
Punctaj total | 40 |