Borderou de evaluare (job #1078449)

Utilizator UTI_Cozma_NutuUTI Gheorghita Gilca Nutu UTI_Cozma_Nutu Data 12 ianuarie 2014 10:53:38
Problema Baruri Status done
Runda ONIS 2014, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:13:33: error: ‘int index’ redeclared as different kind of symbol int n, m, val, l, r, opt, q, t, index, i, tip, b, d, x, aux; ^ In file included from /usr/local/include/c++/4.8.0/cstring:42:0, from user.cpp:2: /usr/include/string.h:480:1: error: previous declaration of ‘const char* index(const char*, int)’ index (__const char *__s, int __c) __THROW ^ user.cpp: In function ‘int main()’: user.cpp:50:12: error: overloaded function with no contextual type information for(index = 0; index < t; index++) { ^ user.cpp:50:25: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator<’ for(index = 0; index < t; index++) { ^ user.cpp:50:33: error: no post-increment operator for type for(index = 0; index < t; index++) { ^

Ceva nu functioneaza?