Pagini recente » Borderou de evaluare (job #2291219) | Borderou de evaluare (job #1502655) | Borderou de evaluare (job #2902501) | Borderou de evaluare (job #145259) | Borderou de evaluare (job #1615254)
Borderou de evaluare (job #1615254)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47: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:47: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:47: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:49:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:49:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:49:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:51:29: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (nou.x == n && nou.y == n & nou.z == n)
^
user.cpp:26: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:27: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:30: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:33: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 | 288kb | OK! | 10 | 20 |
2 | 0ms | 280kb | OK! | 10 |
3 | 0ms | 284kb | OK! | 10 | 20 |
4 | 0ms | 296kb | OK! | 10 |
5 | 0ms | 364kb | OK! | 10 | 20 |
6 | 0ms | 296kb | OK! | 10 |
7 | 0ms | 356kb | OK! | 10 | 10 |
8 | 0ms | 428kb | OK! | 10 | 0 |
9 | 0ms | 528kb | OK! | 10 |
10 | 4ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 70 |