Borderou de evaluare (job #2964599)
Utilizator | Data | 13 ianuarie 2023 13:26:09 | |
---|---|---|---|
Problema | Johnie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:11: error: 'int index' redeclared as different kind of entity
9 | int n, m, index;
| ^~~~~
In file included from /usr/include/string.h:432,
from /usr/include/c++/10/cstring:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:48,
from main.cpp:1:
/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:52:21: error: no pre-increment operator for type
52 | euler[++index] = nod;
| ^~~~~
main.cpp:63:22: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<'
63 | for(int i = 1; i < index; i ++)
| ~~^~~~~~~
main.cpp:78:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for(int j=0;j<drumuri_etape[i].size();j++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !