Pagini recente » Borderou de evaluare (job #2015986) | Borderou de evaluare (job #1147273) | Borderou de evaluare (job #1768710) | Borderou de evaluare (job #1139227) | Borderou de evaluare (job #1868438)
Borderou de evaluare (job #1868438)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50: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:50: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:52:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
seen[son.x][son.y] = 1;
^
user.cpp:52:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
seen[son.x][son.y] = 1;
^
user.cpp:53:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dist + value[son.x][son.y] <= S)
^
user.cpp:53:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dist + value[son.x][son.y] <= S)
^
user.cpp:54:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q[dist + value[son.x][son.y]].push_back({son.x, son.y});
^
user.cpp:54:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q[dist + value[son.x][son.y]].push_back({son.x, son.y});
^
user.cpp:58:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d", S - dist - value[son.x][son.y]);
^
user.cpp:58:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d", S - dist - value[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 | 388kb | OK | 10 |
2 | 0ms | 380kb | OK | 10 |
3 | 0ms | 392kb | OK | 10 |
4 | 0ms | 396kb | OK | 10 |
5 | 0ms | 392kb | OK | 10 |
6 | 0ms | 376kb | OK | 10 |
7 | 0ms | 448kb | OK | 10 |
8 | 0ms | 436kb | OK | 10 |
9 | 4ms | 488kb | OK | 10 |
10 | 4ms | 496kb | OK | 10 |
Punctaj total | 100 |