Borderou de evaluare (job #1055431)
Utilizator | Data | 14 decembrie 2013 11:24:27 | |
---|---|---|---|
Problema | Easygraph | Status | done |
Runda | ONIS 2014, Runda 1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:23:15: error: ‘int index’ redeclared as different kind of symbol
int maxim, s, index;
^
In file included from /usr/local/include/c++/4.8.0/cstring:42:0,
from user.cpp:10:
/usr/include/string.h:480:1: error: previous declaration of ‘const char* index(const char*, int)’
index (__const char *__s, int __c) __THROW
^
user.cpp: In function ‘void DFS(int)’:
user.cpp:32:9: error: no post-increment operator for type
index++;
^
user.cpp: In function ‘int main()’:
user.cpp:66:31: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>=’
if ( maxim < s && index >= 1 )
^
user.cpp:71:10: error: overloaded function with no contextual type information
index = 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !