Pagini recente » Borderou de evaluare (job #2696780) | Borderou de evaluare (job #389783) | Borderou de evaluare (job #2239346) | Borderou de evaluare (job #161928) | Borderou de evaluare (job #1223645)
Borderou de evaluare (job #1223645)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (i != Source[i][(1<<N)-1] && Cost[i][Source[i][(1<<N)-1]] > 0) {
^
user.cpp:73:65: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Sol = min(Sol, Best[i][(1<<N)-1] + Cost[i][Source[i][(1<<N)-1]]);
^
user.cpp:18:15: warning: unused variable ‘C’ [-Wunused-variable]
int X, Y, Z, C;
^
user.cpp:20:34: 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);
^
user.cpp:21:36: 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);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:25:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &X, &Y, &Z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 468kb | OK | 5 |
| 2 | 0ms | 456kb | OK | 5 |
| 3 | 0ms | 516kb | OK | 5 |
| 4 | 0ms | 536kb | OK | 5 |
| 5 | 0ms | 656kb | OK | 5 |
| 6 | 0ms | 652kb | OK | 5 |
| 7 | 52ms | 5604kb | OK | 5 |
| 8 | 44ms | 5028kb | OK | 5 |
| 9 | 16ms | 1664kb | OK | 5 |
| 10 | 16ms | 1660kb | OK | 5 |
| 11 | 16ms | 1660kb | OK | 5 |
| 12 | 20ms | 1664kb | OK | 5 |
| 13 | 16ms | 1660kb | OK | 5 |
| 14 | 16ms | 1664kb | OK | 5 |
| 15 | 572ms | 22996kb | OK | 5 |
| 16 | 532ms | 23004kb | Incorect | 0 |
| 17 | 432ms | 22996kb | OK | 5 |
| 18 | 600ms | 23000kb | OK | 5 |
| 19 | 580ms | 23000kb | OK | 5 |
| 20 | 580ms | 23000kb | OK | 5 |
| Punctaj total | 95 |