Pagini recente » Borderou de evaluare (job #1668518) | Borderou de evaluare (job #2678734) | Borderou de evaluare (job #721137) | Borderou de evaluare (job #2833176) | Borderou de evaluare (job #1453867)
Borderou de evaluare (job #1453867)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:47:62: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if(!viz[y.lin][y.col] && (k^rezerv[y.lin][y.col] == mask))
^
user.cpp:52:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(mancare[y.lin][y.col])
^
user.cpp: In function ‘int main()’:
user.cpp:83:16: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
mask = 1<<s-1;
^
user.cpp:96:31: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if(k^rezerv[i][j] == mask && !(i == l && j == c))
^
user.cpp:77:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &p);
^
user.cpp:78:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d%d", &n, &m, &t);
^
user.cpp:79:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d%d%d", &l, &c, &k, &s);
^
user.cpp:87:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &x, &y);
^
user.cpp:94:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &rezerv[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 4 |
2 | 0ms | 304kb | Incorect | 0 |
3 | 0ms | 320kb | Incorect | 0 |
4 | 24ms | 1020kb | OK | 4 |
5 | 0ms | 332kb | OK | 4 |
6 | 32ms | 1288kb | Incorect | 0 |
7 | 48ms | 1496kb | OK | 4 |
8 | 80ms | 2624kb | Incorect | 0 |
9 | 56ms | 2420kb | Incorect | 0 |
10 | 28ms | 1604kb | OK | 4 |
11 | 0ms | 296kb | OK | 4 |
12 | 60ms | 2420kb | OK | 4 |
13 | 68ms | 2452kb | Incorect | 0 |
14 | 76ms | 2724kb | OK | 4 |
15 | 0ms | 408kb | Incorect | 0 |
16 | 68ms | 2500kb | OK | 4 |
17 | 60ms | 2476kb | OK | 4 |
18 | 0ms | 732kb | OK | 4 |
19 | 16ms | 1260kb | OK | 4 |
20 | 12ms | 1016kb | OK | 4 |
21 | 72ms | 2608kb | Incorect | 0 |
22 | 64ms | 2504kb | OK | 4 |
23 | 48ms | 2396kb | OK | 4 |
24 | 72ms | 2496kb | Incorect | 0 |
25 | 48ms | 2456kb | OK | 4 |
Punctaj total | 64 |