Pagini recente » Borderou de evaluare (job #273140) | Borderou de evaluare (job #2940389) | Borderou de evaluare (job #2680961) | Borderou de evaluare (job #1086886) | Borderou de evaluare (job #1413731)
Borderou de evaluare (job #1413731)
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 | 324kb | Wrong answer! | 0 |
2 | 0ms | 324kb | Ok! | 5 |
3 | 0ms | 452kb | Ok! | 5 |
4 | 0ms | 456kb | Ok! | 5 |
5 | 0ms | 556kb | Ok! | 5 |
6 | 0ms | 608kb | Ok! | 5 |
7 | 0ms | 664kb | Ok! | 5 |
8 | 0ms | 708kb | Ok! | 5 |
9 | 4ms | 916kb | Ok! | 5 |
10 | 8ms | 904kb | Ok! | 5 |
11 | 12ms | 1300kb | Ok! | 5 |
12 | 16ms | 1380kb | Ok! | 5 |
13 | 24ms | 1408kb | Ok! | 5 |
14 | Depăşit | 1480kb | Time limit exceeded. | 0 |
15 | 28ms | 1596kb | Ok! | 5 |
16 | 28ms | 1704kb | Ok! | 5 |
17 | 4ms | 1880kb | Ok! | 5 |
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 | 75 |