Borderou de evaluare (job #1929286)
Utilizator | Data | 17 martie 2017 13:54:21 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:5: error: ‘int index’ redeclared as different kind of symbol
int index = 0;
^
In file included from /usr/include/c++/4.8/cstring:42:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:48,
from user.cpp:1:
/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 StrongCon(int)’:
user.cpp:20:17: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘int’
label[node] = index;
^
user.cpp:21:19: error: cannot resolve overloaded function ‘index’ based on conversion to type ‘int’
lowlink[node] = index;
^
user.cpp:25:8: error: no pre-increment operator for type
++ index;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !