Borderou de evaluare (job #3365020)
| Utilizator | Data | 15 septembrie 2026 20:17:36 | |
|---|---|---|---|
| Problema | Bifo | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:9:14: error: 'int index [105]' redeclared as different kind of entity
9 | int index[105];
| ^
In file included from /usr/include/string.h:462,
from /usr/include/c++/12.2.1/cstring:42,
from main.cpp:3:
/usr/include/strings.h:61:1: note: previous declaration 'const char* index(const char*, int)'
61 | index (const char *__s, int __c) __THROW
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:23:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
23 | cin >> index[i];
| ^
main.cpp:31:30: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
31 | long long poz = index[k];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
