Borderou de evaluare (job #1437296)

Utilizator DjokValeriu Motroi Djok Data 17 mai 2015 14:18:06
Problema Taxe2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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
10ms260kbOK10
20ms252kbOK10
30ms256kbOK10
40ms264kbOK10
50ms256kbOK10
60ms248kbOK10
70ms396kbOK10
80ms336kbOK10
94ms488kbOK10
104ms456kbOK10
Punctaj total100

Ceva nu functioneaza?