Borderou de evaluare (job #1556658)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 25 decembrie 2015 16:45:03
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int hamilton(int, int)’: user.cpp:57:21: error: ‘numeric_limits’ was not declared in this scope D[mask][prev] = numeric_limits <int> :: max(); ^ user.cpp:57:37: error: expected primary-expression before ‘int’ D[mask][prev] = numeric_limits <int> :: max(); ^ user.cpp:57:37: error: expected ‘;’ before ‘int’ user.cpp: In function ‘int main()’: user.cpp:87:19: error: ‘numeric_limits’ was not declared in this scope int minCost = numeric_limits <int> :: max(), node; ^ user.cpp:87:35: error: expected primary-expression before ‘int’ int minCost = numeric_limits <int> :: max(), node; ^ user.cpp:98:13: error: ‘node’ was not declared in this scope node = i; ^ user.cpp:102:21: error: ‘node’ was not declared in this scope int mask = 1 << node; ^

Ceva nu functioneaza?