Borderou de evaluare (job #2505438)
Utilizator | Data | 6 decembrie 2019 20:50:18 | |
---|---|---|---|
Problema | Paritate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:13: error: 'std::vector<int> index' redeclared as different kind of symbol
vector<int> index;
^~~~~
In file included from /usr/include/c++/6/cstring:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:48,
from main.cpp:1:
/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 'int main()':
main.cpp:32:17: error: 'index' does not have class type
index.push_back(k);
^~~~~
main.cpp:41:17: error: 'index' does not have class type
index.push_back(k);
^~~~~
main.cpp:54:20: error: unable to deduce 'auto&&' from 'index'
for (int i:index)
^~~~~
main.cpp:54: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 !