Pagini recente » Borderou de evaluare (job #596820) | Borderou de evaluare (job #1883737) | Borderou de evaluare (job #1858151) | Borderou de evaluare (job #217391) | Borderou de evaluare (job #1623589)
Borderou de evaluare (job #1623589)
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:98:40: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
printf("%d\n", viz2[K + 1][(1 << K - 1)]);
^
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 | 288kb | OK | 5 |
3 | 0ms | 300kb | OK | 5 |
4 | 0ms | 300kb | Incorect | 0 |
5 | 0ms | 308kb | Incorect | 0 |
6 | 0ms | 332kb | Incorect | 0 |
7 | 0ms | 344kb | Incorect | 0 |
8 | 0ms | 352kb | Incorect | 0 |
9 | 0ms | 400kb | Incorect | 0 |
10 | 4ms | 456kb | Incorect | 0 |
11 | 4ms | 556kb | Incorect | 0 |
12 | 8ms | 564kb | Incorect | 0 |
13 | 12ms | 784kb | Incorect | 0 |
14 | 32ms | 1296kb | Incorect | 0 |
15 | 68ms | 2192kb | Incorect | 0 |
16 | 76ms | 2212kb | Incorect | 0 |
17 | 80ms | 2332kb | Incorect | 0 |
18 | 88ms | 2360kb | Incorect | 0 |
19 | 100ms | 2480kb | Incorect | 0 |
20 | 0ms | 280kb | OK | 5 |
Punctaj total | 20 |