Pagini recente » Borderou de evaluare (job #1377654) | Borderou de evaluare (job #1510885) | Borderou de evaluare (job #3247018) | Borderou de evaluare (job #513200) | Borderou de evaluare (job #1506104)
Borderou de evaluare (job #1506104)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:87:13: warning: unused variable ‘cost’ [-Wunused-variable]
int cost = Heap[1].cost;
^
user.cpp: In function ‘int main()’:
user.cpp:137: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:138: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:140: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:144: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 | 8ms | 364kb | Incorect | 0 |
2 | 456ms | 464kb | Incorect | 0 |
3 | 216ms | 404kb | Incorect | 0 |
4 | 308ms | 420kb | Incorect | 0 |
5 | 1716ms | 1032kb | Incorect | 0 |
6 | 2688ms | 1168kb | Incorect | 0 |
7 | 2448ms | 1172kb | Incorect | 0 |
8 | 2312ms | 1168kb | Incorect | 0 |
9 | 2304ms | 1164kb | Incorect | 0 |
10 | 2264ms | 1168kb | Incorect | 0 |
Punctaj total | 0 |