foo.cc: In function 'void dfs(int, int)':
foo.cc:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i = 0; i < G[u].size(); ++i){
~~^~~~~~~~~~~~~
foo.cc: In function 'void color(int, int)':
foo.cc:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i = 0; i < G[u].size(); ++i){
~~^~~~~~~~~~~~~
foo.cc: In function 'bool check(int)':
foo.cc:75:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i = 0; i < G[1].size(); ++i){
~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:108:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m < G[1].size()){
~~^~~~~~~~~~~~~
foo.cc:115:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-08-09T05:55:02.198Z","handle":"2020-08-09T05:55:02.208Z","cache_start":"2020-08-09T05:55:02.325Z","read_cases":"2020-08-09T05:55:04.188Z","judge":"2020-08-09T05:55:04.193Z","done":"2020-08-09T05:55:11.528Z"}