Pagini recente » Borderou de evaluare (job #1568637) | Borderou de evaluare (job #1359920) | Borderou de evaluare (job #2018579) | Borderou de evaluare (job #1743359) | Borderou de evaluare (job #2325346)
Borderou de evaluare (job #2325346)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:35:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < graph[i].size(); ++k)
~~^~~~~~~~~~~~~~~~~
main.cpp:34:35: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
for(int i = 0; i < n; ++i) if((1 << i) & j)
^
main.cpp:45:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < graph[i].size(); ++j)
~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void read()':
main.cpp:14:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hamilton.in", "r", stdin);
^
main.cpp:16:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:20:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &c);
^
main.cpp: In function 'void write()':
main.cpp:51:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hamilton.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 38ms | 20054kb | OK | 5 |
2 | 37ms | 20054kb | Incorect | 0 |
3 | 37ms | 20054kb | Incorect | 0 |
4 | 37ms | 20054kb | OK | 5 |
5 | 38ms | 20054kb | OK | 5 |
6 | 38ms | 20054kb | OK | 5 |
7 | 70ms | 20054kb | Incorect | 0 |
8 | 62ms | 20054kb | Incorect | 0 |
9 | 55ms | 20054kb | OK | 5 |
10 | 53ms | 20054kb | OK | 5 |
11 | 52ms | 20054kb | OK | 5 |
12 | 54ms | 20054kb | OK | 5 |
13 | 55ms | 20054kb | OK | 5 |
14 | 53ms | 20054kb | OK | 5 |
15 | 354ms | 20054kb | OK | 5 |
16 | 306ms | 20054kb | OK | 5 |
17 | 221ms | 20054kb | OK | 5 |
18 | 469ms | 20054kb | OK | 5 |
19 | 346ms | 20054kb | OK | 5 |
20 | 463ms | 20054kb | OK | 5 |
Punctaj total | 80 |