Pagini recente » Borderou de evaluare (job #2051239) | Borderou de evaluare (job #2662664) | Borderou de evaluare (job #1776174) | Borderou de evaluare (job #311774) | Borderou de evaluare (job #2757697)
Borderou de evaluare (job #2757697)
Raport evaluator
Compilare:
main.cpp: In function 'int hamilton(int, int)':
main.cpp:20:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (mask != 1 & k == 0)
~~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:36: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:37: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:39: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:43: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 | 36ms | 19005kb | OK | 5 |
| 2 | 35ms | 19005kb | OK | 5 |
| 3 | 35ms | 19005kb | OK | 5 |
| 4 | 35ms | 19005kb | OK | 5 |
| 5 | 46ms | 18964kb | OK | 5 |
| 6 | 31ms | 19005kb | OK | 5 |
| 7 | 36ms | 19267kb | OK | 5 |
| 8 | 36ms | 19136kb | OK | 5 |
| 9 | 45ms | 19136kb | OK | 5 |
| 10 | 46ms | 19136kb | OK | 5 |
| 11 | 46ms | 19136kb | OK | 5 |
| 12 | 46ms | 19136kb | OK | 5 |
| 13 | 46ms | 19136kb | OK | 5 |
| 14 | 45ms | 19136kb | OK | 5 |
| 15 | 303ms | 21102kb | OK | 5 |
| 16 | 289ms | 21102kb | OK | 5 |
| 17 | 161ms | 21102kb | OK | 5 |
| 18 | 346ms | 21102kb | OK | 5 |
| 19 | 327ms | 21102kb | OK | 5 |
| 20 | 361ms | 21233kb | OK | 5 |
| Punctaj total | 100 |