Borderou de evaluare (job #1207505)

Utilizator andreiiiiPopa Andrei andreiiii Data 13 iulie 2014 11:46:28
Problema Colaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void Fill(short int, short int)’: user.cpp:56:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (x + dx[i] >= 0 && y + dy[i] >= 0 && !Valid[x + dx[i]][y + dy[i]]) ^ user.cpp:56:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (x + dx[i] >= 0 && y + dy[i] >= 0 && !Valid[x + dx[i]][y + dy[i]]) ^ user.cpp:56:64: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (x + dx[i] >= 0 && y + dy[i] >= 0 && !Valid[x + dx[i]][y + dy[i]]) ^ user.cpp:56:75: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (x + dx[i] >= 0 && y + dy[i] >= 0 && !Valid[x + dx[i]][y + dy[i]]) ^ user.cpp:57:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] Fill(x + dx[i], y + dy[i]); ^ user.cpp:57:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] Fill(x + dx[i], y + dy[i]); ^ user.cpp: In function ‘int main()’: user.cpp:62:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colaj.in", "r", stdin); ^ user.cpp:63:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colaj.out", "w", stdout); ^ user.cpp:66:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd%hd", &K, &N, &M); ^ user.cpp:69:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd%hd%hd", &X1[i], &Y1[i], &X2[i], &Y2[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbOK10
20ms388kbOK10
30msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
50ms512kbOK10
64ms608kbOK10
74ms464kbOK10
80ms456kbOK10
90ms616kbOK10
100ms316kbOK10
Punctaj total80

Ceva nu functioneaza?