Pagini recente » Borderou de evaluare (job #2481079) | Borderou de evaluare (job #1856776) | Borderou de evaluare (job #2056414) | Borderou de evaluare (job #816978) | Borderou de evaluare (job #2757692)
Borderou de evaluare (job #2757692)
Raport evaluator
Compilare:
main.cpp: In function 'int hamilton(int, int)':
main.cpp:17:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (mask != 1 & k == 0)
~~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:31: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:32: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);
^
main.cpp:34: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:40:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &from, &to, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 3ms | 262kb | OK | 5 |
6 | 4ms | 262kb | OK | 5 |
7 | 25ms | 6946kb | OK | 5 |
8 | 24ms | 6946kb | OK | 5 |
9 | 32ms | 1572kb | OK | 5 |
10 | 44ms | 1572kb | OK | 5 |
11 | 26ms | 1572kb | OK | 5 |
12 | 29ms | 1572kb | OK | 5 |
13 | 29ms | 1572kb | OK | 5 |
14 | 22ms | 1572kb | OK | 5 |
15 | 752ms | 27394kb | Time limit exceeded | 0 |
16 | 752ms | 27394kb | Time limit exceeded | 0 |
17 | 756ms | 27394kb | Time limit exceeded | 0 |
18 | 470ms | 27394kb | OK | 5 |
19 | 737ms | 27394kb | OK | 5 |
20 | 457ms | 27394kb | OK | 5 |
Punctaj total | 85 |