Borderou de evaluare (job #1207506)

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

Raport evaluator

Compilare: user.cpp: In function ‘void Fill(short int, short int)’: user.cpp:66:25: 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:66:43: 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:66:68: 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:66:79: 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:68:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] Q.push(make_pair(x + dx[i], y + dy[i])); ^ user.cpp:68:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] Q.push(make_pair(x + dx[i], y + dy[i])); ^ user.cpp:69:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] Valid[x + dx[i]][y + dy[i]] = 1; ^ user.cpp:69:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] Valid[x + dx[i]][y + dy[i]] = 1; ^ user.cpp: In function ‘int main()’: user.cpp:77: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:78: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:81: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:84: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
10ms288kbOK10
20ms288kbOK10
30ms288kbOK10
40ms292kbOK10
50ms296kbOK10
64ms300kbOK10
74ms288kbOK10
80ms312kbOK10
90ms316kbOK10
100ms288kbOK10
Punctaj total100

Ceva nu functioneaza?