Borderou de evaluare (job #2343901)
Utilizator | Data | 14 februarie 2019 15:05:38 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:18: error: 'int index [2000000]' redeclared as different kind of symbol
int index[2000000];
^
In file included from main.cpp:2:0:
/usr/include/string.h:477:1: note: previous declaration 'const char* index(const char*, int)'
index (const char *__s, int __c) __THROW
^~~~~
main.cpp: In function 'void indexare()':
main.cpp:29:20: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
index[i] = index[i-1] + 1;
^
main.cpp:29:33: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
index[i] = index[i-1] + 1;
^
main.cpp:35:20: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
index[i] = 0;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !