Pagini recente » Borderou de evaluare (job #1603182) | Borderou de evaluare (job #356770) | Borderou de evaluare (job #2250936) | Borderou de evaluare (job #1656808) | Borderou de evaluare (job #1624921)
Borderou de evaluare (job #1624921)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int, int)’:
user.cpp:40:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < con[crt.pos].size(); i++) {
^
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:63:136: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
} else if(i <= K && !(stare & (1 << (i - 1))) && (viz2[i][stare | (1 << (i - 1))] == 0 || viz2[i][stare | (1 << (i - 1))] == 0 > viz2[pos][stare] + d[pos][i])) {
^
user.cpp: In function ‘int main()’:
user.cpp:73:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:74:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.in", "r", stdin);
^
user.cpp:75:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.out", "w", stdout);
^
user.cpp:76:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:77:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
user.cpp:79:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &pos[i]);
^
user.cpp:85:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 280kb | OK | 5 |
3 | 0ms | 296kb | OK | 5 |
4 | 0ms | 300kb | Incorect | 0 |
5 | 0ms | 308kb | Incorect | 0 |
6 | 0ms | 328kb | Incorect | 0 |
7 | 0ms | 340kb | Incorect | 0 |
8 | 0ms | 348kb | Incorect | 0 |
9 | 0ms | 400kb | Incorect | 0 |
10 | 4ms | 452kb | Incorect | 0 |
11 | 8ms | 560kb | Incorect | 0 |
12 | 8ms | 556kb | Incorect | 0 |
13 | 12ms | 780kb | Incorect | 0 |
14 | 32ms | 1296kb | Incorect | 0 |
15 | 64ms | 2196kb | Incorect | 0 |
16 | 72ms | 2208kb | Incorect | 0 |
17 | 76ms | 2328kb | Incorect | 0 |
18 | 80ms | 2364kb | Incorect | 0 |
19 | 96ms | 2480kb | Incorect | 0 |
20 | 0ms | 276kb | OK | 5 |
Punctaj total | 20 |