Borderou de evaluare (job #1901375)

Utilizator o_micBianca Costin o_mic Data 3 martie 2017 21:59:58
Problema Stiva3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void normalize()’: user.cpp:43:16: error: overloaded function with no contextual type information for (index = 0; index < n; ++index) { ^ user.cpp:43:29: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator<’ for (index = 0; index < n; ++index) { ^ user.cpp:43:34: error: no pre-increment operator for type for (index = 0; index < n; ++index) { ^ user.cpp:44:19: error: invalid types ‘int [50005][<unresolved overloaded function type>]’ for array subscript ap[a[index]] = 1; ^ user.cpp:45:20: error: invalid types ‘int [50005][<unresolved overloaded function type>]’ for array subscript if (a[index] < maxv) ^

Ceva nu functioneaza?