Pagini recente » Borderou de evaluare (job #2197067) | Borderou de evaluare (job #1304967) | Borderou de evaluare (job #2475812) | Borderou de evaluare (job #1856762) | Borderou de evaluare (job #1413730)
Borderou de evaluare (job #1413730)
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 |
| 1 | 0ms | 320kb | Ok! | 5 |
| 2 | 0ms | 332kb | Wrong answer! | 0 |
| 3 | 0ms | 452kb | Ok! | 5 |
| 4 | 0ms | 460kb | Ok! | 5 |
| 5 | 0ms | 556kb | Wrong answer! | 0 |
| 6 | 0ms | 604kb | Wrong answer! | 0 |
| 7 | 0ms | 668kb | Wrong answer! | 0 |
| 8 | 0ms | 708kb | Ok! | 5 |
| 9 | 4ms | 908kb | Ok! | 5 |
| 10 | 8ms | 900kb | Ok! | 5 |
| 11 | 12ms | 1300kb | Ok! | 5 |
| 12 | 16ms | 1384kb | Ok! | 5 |
| 13 | 24ms | 1412kb | Ok! | 5 |
| 14 | Depăşit | 1480kb | Time limit exceeded. | 0 |
| 15 | 28ms | 1592kb | Ok! | 5 |
| 16 | 28ms | 1700kb | Ok! | 5 |
| 17 | 4ms | 1876kb | Wrong answer! | 0 |
| 18 | Depăşit | 1936kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2272kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 2652kb | Time limit exceeded. | 0 |
| Punctaj total | 55 |