Borderou de evaluare (job #2166418)
Utilizator | Data | 13 martie 2018 17:02:34 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:33: error: ‘int index’ redeclared as different kind of symbol
int pre[100005],lowlink[100005],index,n,nr=0;
^
In file included from /usr/include/c++/5/cstring:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:48,
from user.cpp:1:
/usr/include/string.h:477:1: note: previous declaration ‘const char* index(const char*, int)’
index (const char *__s, int __c) __THROW
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:13:11: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘int’
pre[i]=index;
^
user.cpp:14:15: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘int’
lowlink[i]=index;
^
user.cpp:15:10: error: no post-increment operator for type
index++;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !