Pagini recente » Borderou de evaluare (job #2309319) | Borderou de evaluare (job #1123656) | Borderou de evaluare (job #2753027) | Borderou de evaluare (job #2817090) | Borderou de evaluare (job #1615253)
Borderou de evaluare (job #1615253)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (inside(nou.x, nou.y, nou.z, n) && viz[nou.x][nou.y][nou.z] == 0)
^
user.cpp:46:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (inside(nou.x, nou.y, nou.z, n) && viz[nou.x][nou.y][nou.z] == 0)
^
user.cpp:46:65: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (inside(nou.x, nou.y, nou.z, n) && viz[nou.x][nou.y][nou.z] == 0)
^
user.cpp:48:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:48:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:48:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:50:29: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (nou.x == n && nou.y == n & nou.z == n)
^
user.cpp:69:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d\n", q[v[i]].x, q[v[i]].y, q[v[i]].z);
^
user.cpp:69:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d\n", q[v[i]].x, q[v[i]].y, q[v[i]].z);
^
user.cpp:69:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d\n", q[v[i]].x, q[v[i]].y, q[v[i]].z);
^
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.in", "r", stdin);
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.out", "w", stdout);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:32:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK! | 10 | 20 |
2 | 0ms | 284kb | OK! | 10 |
3 | 0ms | 292kb | Raspuns Gresit | 0 | 0 |
4 | 0ms | 292kb | Raspuns Gresit | 0 |
5 | 0ms | 336kb | Raspuns Gresit | 0 | 0 |
6 | 0ms | 296kb | Raspuns Gresit | 0 |
7 | 0ms | 340kb | Raspuns Gresit | 0 | 0 |
8 | 0ms | 372kb | Raspuns Gresit | 0 | 0 |
9 | 0ms | 432kb | Raspuns Gresit | 0 |
10 | 4ms | 484kb | Raspuns Gresit | 0 |
Punctaj total | 20 |