Borderou de evaluare (job #1550393)
Utilizator | Data | 13 decembrie 2015 17:33:49 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:37: error: ‘int index’ redeclared as different kind of symbol
int lowidx[NN],in_stack[NN],idx[NN],index,n,m,i,j;
^
In file included from /usr/include/c++/4.8/cstring:42:0,
from user.cpp:5:
/usr/include/string.h:482:1: error: previous declaration of ‘const char* index(const char*, int)’
index (__const char *__s, int __c) __THROW
^
user.cpp: In function ‘void tarjan(int)’:
user.cpp:21:11: error: no post-increment operator for type
index ++;
^
user.cpp:22:28: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘int’
lowidx[nod] = idx[nod] = index;
^
user.cpp:26:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < v[nod].size(); i ++)
^
user.cpp: In function ‘int main()’:
user.cpp:72:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < solutii.size(); i ++, fout << '\n')
^
user.cpp:73:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < solutii[i].size(); j ++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !