Pagini recente » Borderou de evaluare (job #1455282) | Borderou de evaluare (job #709551) | Borderou de evaluare (job #586147) | Borderou de evaluare (job #68279) | Borderou de evaluare (job #2757693)
Borderou de evaluare (job #2757693)
Raport evaluator
Compilare:
main.cpp: In function 'int hamilton(int, int)':
main.cpp:19:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (mask != 1 & k == 0)
~~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:33: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:34: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:36: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:42: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 | 35ms | 19005kb | OK | 5 |
3 | 35ms | 19005kb | OK | 5 |
4 | 35ms | 19005kb | OK | 5 |
5 | 36ms | 19005kb | OK | 5 |
6 | 36ms | 19005kb | OK | 5 |
7 | 36ms | 19005kb | OK | 5 |
8 | 35ms | 19005kb | OK | 5 |
9 | 58ms | 19005kb | OK | 5 |
10 | 73ms | 19005kb | OK | 5 |
11 | 53ms | 19005kb | OK | 5 |
12 | 57ms | 19005kb | OK | 5 |
13 | 53ms | 19005kb | OK | 5 |
14 | 55ms | 19005kb | OK | 5 |
15 | 750ms | 19005kb | Time limit exceeded | 0 |
16 | 752ms | 19005kb | Time limit exceeded | 0 |
17 | 752ms | 19005kb | Time limit exceeded | 0 |
18 | 370ms | 19136kb | OK | 5 |
19 | 682ms | 19058kb | OK | 5 |
20 | 397ms | 19062kb | OK | 5 |
Punctaj total | 85 |