Pagini recente » Borderou de evaluare (job #914022) | Borderou de evaluare (job #2436218) | Borderou de evaluare (job #362216) | Borderou de evaluare (job #2150343) | Borderou de evaluare (job #1866663)
Borderou de evaluare (job #1866663)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:149:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &seen[f][i][j]);
^
user.cpp:134:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cub.in", "r", stdin);
^
user.cpp:135:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cub.out", "w", stdout);
^
user.cpp:139:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:141:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &start.f, &start.x, &start.y);
^
user.cpp:144:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &t[i].f, &t[i].x, &t[i].y);
^
user.cpp:149:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &seen[f][i][j]);
^
user.cpp: In function ‘void bfs()’:
user.cpp:47:34: warning: iteration 4u invokes undefined behavior [-Waggressive-loop-optimizations]
son.x = node.x + dx[i];
^
user.cpp:44:9: note: containing loop
for(i=0; i<7; ++i)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 4ms | 516kb | OK | 10 |
7 | 0ms | 308kb | OK | 10 |
8 | 0ms | 392kb | OK | 10 |
9 | 0ms | 400kb | OK | 10 |
10 | 4ms | 500kb | OK | 10 |
Punctaj total | 100 |