Pagini recente » Borderou de evaluare (job #3165376) | Borderou de evaluare (job #2502279) | Borderou de evaluare (job #2741179) | Borderou de evaluare (job #2811317) | Borderou de evaluare (job #1693534)
Borderou de evaluare (job #1693534)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs()’:
user.cpp:26:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if((v[node.x][node.y] & u) == 0 && (v[node.x - 1][node.y] & d) == 0)
^
user.cpp:34:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if((v[node.x][node.y] & r) == 0 && (v[node.x][node.y + 1] & l) == 0)
^
user.cpp:51:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if((v[node.x][node.y] & l) == 0 && (v[node.x][node.y - 1] & r) == 0)
^
user.cpp: In function ‘int main()’:
user.cpp:97:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("verlab.in", "r", stdin);
^
user.cpp:98:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("verlab.out", "w", stdout);
^
user.cpp:99:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:101:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &R, &C);
^
user.cpp:104:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[j][k]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 444kb | Incorect | 0 |
Punctaj total | 0 |