Borderou de evaluare (job #1413731)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 2 aprilie 2015 02:07:54
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] u[initx][inity][0] = true; ^ user.cpp:47:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] u[initx][inity][0] = true; ^ user.cpp:53:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(finReach[st.x][st.y] == false) { ^ user.cpp:53:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(finReach[st.x][st.y] == false) { ^ user.cpp:54:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] finReach[st.x][st.y] = true; ^ user.cpp:54:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] finReach[st.x][st.y] = true; ^ user.cpp:67:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(0 <= nx && nx < n && 0 <= ny && ny < m && A[nx][ny] == '.') { ^ user.cpp:67:69: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(0 <= nx && nx < n && 0 <= ny && ny < m && A[nx][ny] == '.') { ^ user.cpp:68:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(u[nx][ny][st.nrMove+1] == false) { ^ user.cpp:68:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(u[nx][ny][st.nrMove+1] == false) { ^ user.cpp:69:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] u[nx][ny][st.nrMove+1] = true; ^ user.cpp:69:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] u[nx][ny][st.nrMove+1] = true; ^ user.cpp:70:47: warning: narrowing conversion of ‘(((int)st.state::nrMove) + 1)’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing] q.push( {nx, ny, st.nrMove+1} ); ^ user.cpp:26:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(inFile, "r", stdin); ^ user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(outFile, "w", stdout); ^ user.cpp:32:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:33:38: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms324kbWrong answer!0
20ms324kbOk!5
30ms452kbOk!5
40ms456kbOk!5
50ms556kbOk!5
60ms608kbOk!5
70ms664kbOk!5
80ms708kbOk!5
94ms916kbOk!5
108ms904kbOk!5
1112ms1300kbOk!5
1216ms1380kbOk!5
1324ms1408kbOk!5
14Depăşit1480kbTime limit exceeded.0
1528ms1596kbOk!5
1628ms1704kbOk!5
174ms1880kbOk!5
18Depăşit1936kbTime limit exceeded.0
19Depăşit2272kbTime limit exceeded.0
20Depăşit2652kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?