Pagini recente » Borderou de evaluare (job #2393433) | Borderou de evaluare (job #1455778) | Borderou de evaluare (job #2399653) | Borderou de evaluare (job #1432629) | Borderou de evaluare (job #1693745)
Borderou de evaluare (job #1693745)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs()’:
user.cpp:26:11: 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:11: 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:42:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if((v[node.x][node.y] & d) == 0 && (v[node.x + 1][node.y] & u) == 0)
^
user.cpp:50:11: 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:107: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:108: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:109:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:111: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:114: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 | 32ms | 444kb | Incorect | 0 |
Punctaj total | 0 |