Borderou de evaluare (job #2816029)
Utilizator | Data | 10 decembrie 2021 21:44:02 | |
---|---|---|---|
Problema | Caramele | Status | done |
Runda | arhiva-vianu | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:19: error: 'std::set<int> index' redeclared as different kind of entity
11 | set <int> m[MAX], index;
| ^~~~~
In file included from /usr/include/string.h:432,
from /usr/include/c++/10/cstring:42,
from main.cpp:2:
/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:15: error: overloaded function with no contextual type information
23 | index.insert(x);
| ^~~~~~
main.cpp:26:20: error: unable to deduce 'auto&&' from 'index'
26 | for (int ind : index)
| ^~~~~
main.cpp:26:20: note: couldn't deduce template parameter 'auto'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !