Borderou de evaluare (job #2186237)

Utilizator lflorin29Florin Laiu lflorin29 Data 25 martie 2018 14:08:12
Problema Fast Fourier Transformation Status done
Runda Agm 2018 Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:150:15: error: ‘int index [100002]’ redeclared as different kind of symbol int index[NMAX]; ^ In file included from /usr/include/c++/6/cstring:42:0, from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:48, from user.cpp:1: /usr/include/string.h:477:1: note: previous declaration ‘const char* index(const char*, int)’ index (const char *__s, int __c) __THROW ^~~~~ user.cpp: In function ‘void Propagate()’: user.cpp:157:43: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript for(int i = 1; i <= nodes; ++i) index[i] = i; ^ user.cpp:158:15: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator+’ sort(index + 1, index + nodes + 1, [] (int n1, int n2) { ~~~~~~^~~ user.cpp:158:26: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator+’ sort(index + 1, index + nodes + 1, [] (int n1, int n2) { ~~~~~~^~~~~~~ user.cpp:162:22: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript int i = index[j]; ^ user.cpp:168:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<allH.size();++i) ~^~~~~~~~~~~~ user.cpp: In function ‘int getV(int)’: user.cpp:219:28: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript if(length[index[mij]]<=pos) ^ user.cpp: In function ‘int32_t main()’: user.cpp:248:18: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator+’ reverse(index + 1, index + nodes + 1); ~~~~~~^~~ user.cpp:248:29: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator+’ reverse(index + 1, index + nodes + 1); ~~~~~~^~~~~~~ user.cpp:268:22: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript int i=index[j]; ^

Ceva nu functioneaza?