Mã số | Tên bài | Trạng thái | Điểm | Tổng thời gian | Bộ nhớ | Ngôn ngữ/Kích thước | Người nộp | Thời điểm nộp |
---|---|---|---|---|---|---|---|---|
#37221 | #559. BFSDEMO - Minh họa thuật toan BFS (cơ bản) | Compile Error | 0 | 0 ms | 0 K | C++ / 765 B | Nguyễn Bùi Vương Tiễn | 2021-05-21 3:54:13 |
Tổng hợp thông tin
/sandbox/1/a.cpp: In function 'int main()':
/sandbox/1/a.cpp:8:22: error: '>>' should be '> >' within a nested template argument list
vector<vector<int>> a(n+1);
^~
> >
/sandbox/1/a.cpp:20:19: error: 'k' does not name a type
for(auto k: a[u]){
^
/sandbox/1/a.cpp:27:11: error: expected ';' before '}' token
}
^
;
}
~
/sandbox/1/a.cpp:28:5: error: expected primary-expression before '}' token
}
^
/sandbox/1/a.cpp:27:11: error: expected ';' before '}' token
}
^
;
}
~
/sandbox/1/a.cpp:28:5: error: expected primary-expression before '}' token
}
^
/sandbox/1/a.cpp:27:11: error: expected ')' before '}' token
}
^
)
}
~
/sandbox/1/a.cpp:20:13: note: to match this '('
for(auto k: a[u]){
^
/sandbox/1/a.cpp:28:5: error: expected primary-expression before '}' token
}
^
/sandbox/1/a.cpp:30:14: error: 'k' does not name a type
for(auto k: out) cout << k << "\n";
^
/sandbox/1/a.cpp:30:40: error: expected ';' before '}' token
for(auto k: out) cout << k << "\n";
^
;
}
~
/sandbox/1/a.cpp:31:1: error: expected primary-expression before '}' token
}
^
/sandbox/1/a.cpp:30:40: error: expected ';' before '}' token
for(auto k: out) cout << k << "\n";
^
;
}
~
/sandbox/1/a.cpp:31:1: error: expected primary-expression before '}' token
}
^
/sandbox/1/a.cpp:30:40: error: expected ')' before '}' token
for(auto k: out) cout << k << "\n";
~ ^
)
}
~
/sandbox/1/a.cpp:31:1: error: expected primary-expression before '}' token
}
^