Pagini recente » Borderou de evaluare (job #62769) | Borderou de evaluare (job #178944) | Borderou de evaluare (job #761138) | Borderou de evaluare (job #3294474) | Borderou de evaluare (job #2757696)
Borderou de evaluare (job #2757696)
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:38: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 | 35ms | 19005kb | OK | 5 |
2 | 37ms | 19005kb | OK | 5 |
3 | 35ms | 19005kb | OK | 5 |
4 | 35ms | 19005kb | OK | 5 |
5 | 35ms | 19005kb | OK | 5 |
6 | 36ms | 19005kb | OK | 5 |
7 | 35ms | 19005kb | OK | 5 |
8 | 35ms | 19005kb | OK | 5 |
9 | 57ms | 19005kb | OK | 5 |
10 | 70ms | 19005kb | OK | 5 |
11 | 52ms | 19005kb | OK | 5 |
12 | 55ms | 19005kb | OK | 5 |
13 | 55ms | 19005kb | OK | 5 |
14 | 49ms | 19005kb | OK | 5 |
15 | 753ms | 19005kb | Time limit exceeded | 0 |
16 | 752ms | 19005kb | Time limit exceeded | 0 |
17 | 752ms | 19005kb | Time limit exceeded | 0 |
18 | 362ms | 19136kb | OK | 5 |
19 | 584ms | 19005kb | OK | 5 |
20 | 384ms | 19005kb | OK | 5 |
Punctaj total | 85 |