Pagini recente » Borderou de evaluare (job #231855) | Borderou de evaluare (job #125467) | Borderou de evaluare (job #519890) | Borderou de evaluare (job #420187) | Borderou de evaluare (job #1437296)
Borderou de evaluare (job #1437296)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(Ok(x,y) && b[x][y]>b[q[st].x][q[st].y]+a[x][y])
^
user.cpp:40:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(Ok(x,y) && b[x][y]>b[q[st].x][q[st].y]+a[x][y])
^
user.cpp:42:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[x][y]=b[q[st].x][q[st].y]+a[x][y];
^
user.cpp:42:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b[x][y]=b[q[st].x][q[st].y]+a[x][y];
^
user.cpp:24:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxe2.in","rt",stdin);
^
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxe2.out","wt",stdout);
^
user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&s,&n);
^
user.cpp:30:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]),b[i][j]=INF;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 256kb | OK | 10 |
6 | 0ms | 248kb | OK | 10 |
7 | 0ms | 396kb | OK | 10 |
8 | 0ms | 336kb | OK | 10 |
9 | 4ms | 488kb | OK | 10 |
10 | 4ms | 456kb | OK | 10 |
Punctaj total | 100 |