Borderou de evaluare (job #1068717)

Utilizator hotfixVasile Pantelescu hotfix Data 28 decembrie 2013 18:10:45
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:29:45: error: ‘numeric_limits’ is not a member of ‘std’ for (int i = 1; i <= N; i++) min_cost[i] = std::numeric_limits<unsigned int>::max(); ^ user.cpp:29:65: error: expected primary-expression before ‘unsigned’ for (int i = 1; i <= N; i++) min_cost[i] = std::numeric_limits<unsigned int>::max(); ^ user.cpp:29:65: error: expected ‘;’ before ‘unsigned’ user.cpp:60:22: error: ‘numeric_limits’ is not a member of ‘std’ if (min_cost[i] != std::numeric_limits<unsigned int>::max()) ofs << min_cost[i] << " "; ^ user.cpp:60:42: error: expected primary-expression before ‘unsigned’ if (min_cost[i] != std::numeric_limits<unsigned int>::max()) ofs << min_cost[i] << " "; ^ user.cpp:60:42: error: expected ‘)’ before ‘unsigned’

Ceva nu functioneaza?