Borderou de evaluare (job #1787405)
Utilizator | Data | 24 octombrie 2016 17:16:12 | |
---|---|---|---|
Problema | Ro | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:48: error: ‘bitset’ does not name a type
vector<int> g[DIM], st, whc[DIM], sol, e[DIM]; bitset<DIM> ma;
^
user.cpp: In function ‘void dfs1(int, int)’:
user.cpp:20:22: error: ‘ma’ was not declared in this scope
st.push_back(x); ma[x] = 1;
^
user.cpp: In function ‘void dfs2(int, int)’:
user.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( x < bcc.size() ) { // x is a biconnected component
^
user.cpp:51:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0, ok = 1; i < bcc[x].size(); i ++, ok = 1 ) {
^
user.cpp: In function ‘void dfs3(int, int, int)’:
user.cpp:76:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( x < bcc.size() ) {
^
user.cpp:77:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < bcc[x].size(); i ++ ) {
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:115:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < bcc.size(); i ++ ) {
^
user.cpp:116:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int j = 0; j < bcc[i].size(); j ++ ) {
^
user.cpp:117:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int k = 0; k < bcc[i].size(); k ++ ) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !