Borderou de evaluare (job #2268715)

Utilizator hevelebalazshevele balazs hevelebalazs Data 25 octombrie 2018 10:54:05
Problema Cameras Status done
Runda Arhiva ICPC Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:189:9: warning: type defaults to 'int' in declaration of 'Distance' [-Wimplicit-int] static Distance[NODE_N]; ^~~~~~~~ main.c:190:87: warning: passing argument 5 of 'GetDistanceBetweenNodes' from incompatible pointer type [-Wincompatible-pointer-types] double newSolution = GetDistanceBetweenNodes(&graph, &queue, 0, graph.nodeCount - 1, Distance) / speedLimit; ^~~~~~~~ main.c:101:8: note: expected 'double *' but argument is of type 'int *' double GetDistanceBetweenNodes(Graph* graph, Queue* Q, int startNodeIndex, int endNodeIndex, double* Distance) ^~~~~~~~~~~~~~~~~~~~~~~ main.c:138:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("cameras.in", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:139:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("cameras.out", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:146:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%i%i%i", &graph.nodeCount, &edgeCount, &cameraNodeCount); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:150:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &nodeIndex); ^~~~~~~~~~~~~~~~~~~~~~~ main.c:155:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf", &maxSpeed, &speedLimit); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:160:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%i%i%lf", &fromIndex, &toIndex, &length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11000ms9474kbTime limit exceeded00
21000ms9474kbTime limit exceeded0
3185ms8257kbRaspuns gresit!0
4173ms8257kbRaspuns gresit!0
5226ms8699kbOK!10
6205ms7995kbOK!10
7544ms13369kbRaspuns gresit!0
82ms131kbRaspuns gresit!0
92ms131kbOK!10
102ms131kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?