Pagini recente » Borderou de evaluare (job #2665410) | Borderou de evaluare (job #377215) | Borderou de evaluare (job #3185234) | Borderou de evaluare (job #2990226) | Borderou de evaluare (job #1615284)
Borderou de evaluare (job #1615284)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:60: 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:67: 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:74: 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:51:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:51:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:51:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[nou.x][nou.y][nou.z] = 1;
^
user.cpp:53:41: 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:31:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &n, &m);
^
user.cpp:34:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd %hd", &x, &y, &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 304kb | OK! | 10 | 20 |
2 | 0ms | 292kb | OK! | 10 |
3 | 0ms | 300kb | OK! | 10 | 20 |
4 | 0ms | 304kb | OK! | 10 |
5 | 0ms | 356kb | OK! | 10 | 20 |
6 | 0ms | 312kb | OK! | 10 |
7 | 0ms | 360kb | OK! | 10 | 10 |
8 | 0ms | 412kb | OK! | 10 | 0 |
9 | 0ms | 480kb | OK! | 10 |
10 | 0ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 70 |