Borderou de evaluare (job #2101072)
Utilizator | Data | 6 ianuarie 2018 19:46:45 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:5: error: ‘int index’ redeclared as different kind of symbol
int index;
^
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 tarjan(int)’:
user.cpp:15:35: error: no pre-increment operator for type
pos[node] = lowlink[node] = ++index;
^
user.cpp: In function ‘int main()’:
user.cpp:50:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < M.size(); i++){
^
user.cpp:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < M[i].size(); j++)
^
user.cpp:41:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &n, &m);
^
user.cpp:44:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !