Pagini recente » Borderou de evaluare (job #1537305) | Borderou de evaluare (job #948935) | Borderou de evaluare (job #361688) | Borderou de evaluare (job #2773914) | Borderou de evaluare (job #2268715)
Borderou de evaluare (job #2268715)
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 |
1 | 1000ms | 9474kb | Time limit exceeded | 0 | 0 |
2 | 1000ms | 9474kb | Time limit exceeded | 0 |
3 | 185ms | 8257kb | Raspuns gresit! | 0 |
4 | 173ms | 8257kb | Raspuns gresit! | 0 |
5 | 226ms | 8699kb | OK! | 10 |
6 | 205ms | 7995kb | OK! | 10 |
7 | 544ms | 13369kb | Raspuns gresit! | 0 |
8 | 2ms | 131kb | Raspuns gresit! | 0 |
9 | 2ms | 131kb | OK! | 10 |
10 | 2ms | 131kb | Raspuns gresit! | 0 |
Punctaj total | 0 |