Sukabinti žiedai

Taškai: 0

Compile: FAIL

ziedai.cpp: In function ‘int minDistance(int*, bool*)’: ziedai.cpp:12:14: error: ‘INT_MAX’ was not declared in this scope int min = INT_MAX, min_index; ^ ziedai.cpp:16:25: error: ‘min_index’ was not declared in this scope min = dist[v], min_index = v; ^ ziedai.cpp:18:11: error: ‘min_index’ was not declared in this scope return min_index; ^ ziedai.cpp: In function ‘int main()’: ziedai.cpp:47:19: error: ‘INT_MAX’ was not declared in this scope dist[i] = INT_MAX, sptSet[i] = false; ^ ziedai.cpp:56:60: error: ‘INT_MAX’ was not declared in this scope if (!sptSet[v] && vertexes[u][v] && dist[u] != INT_MAX ^

nr.resulttimemessage