Pagini recente » Borderou de evaluare (job #2789492) | Borderou de evaluare (job #3151458) | Borderou de evaluare (job #2981552) | Borderou de evaluare (job #582557) | Borderou de evaluare (job #1506114)
Borderou de evaluare (job #1506114)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:89:13: warning: unused variable ‘cost’ [-Wunused-variable]
int cost = Heap[1].cost;
^
user.cpp: In function ‘int main()’:
user.cpp:141:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("dbz.in" ,"r", stdin );
^
user.cpp:142:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("dbz.out","w", stdout);
^
user.cpp:144:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &nrNodes, &nrEdges);
^
user.cpp:148:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d", &node1, &node2, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 360kb | Incorect | 0 |
2 | 508ms | 460kb | Incorect | 0 |
3 | 232ms | 404kb | Incorect | 0 |
4 | 336ms | 416kb | Incorect | 0 |
5 | 1756ms | 1032kb | Incorect | 0 |
6 | 2816ms | 1164kb | Incorect | 0 |
7 | 2376ms | 1168kb | Incorect | 0 |
8 | 2328ms | 1164kb | Incorect | 0 |
9 | 2904ms | 1160kb | Incorect | 0 |
10 | 2584ms | 1172kb | Incorect | 0 |
Punctaj total | 0 |