Borderou de evaluare (job #2379472)
Utilizator | Data | 13 martie 2019 17:55:24 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:12: error: 'int index' redeclared as different kind of symbol
int n,m,nr,index;
^~~~~
In file included from /usr/include/c++/6/cstring:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:48,
from main.cpp:1:
/usr/include/string.h:477:1: note: previous declaration 'const char* index(const char*, int)'
index (const char *__s, int __c) __THROW
^~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:15:23: error: no pre-increment operator for type
d[nod]=low[nod]=++index;
^~~~~
main.cpp:16:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void solve()':
main.cpp:47:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<sol[i].size();j++)
~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !