/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'MST merge(MST, MST, int*)':
/in/foo.cc:54:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.G.size();i++)G.push_back(a.G[i]);
              ~^~~~~~~~~~~
/in/foo.cc:55:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<b.G.size();i++)G.push_back((edge){b.G[i].u+a.tot,b.G[i].v+a.tot,b.G[i].w});
              ~^~~~~~~~~~~
/in/foo.cc:60:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<G.size();i++)
              ~^~~~~~~~~
/in/foo.cc: In function 'll query(MST)':
/in/foo.cc:74:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.G.size();i++)ret+=a.G[i].w;
              ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 7ms 3.766 MiB
#2 Accepted 1511ms 70.891 MiB
#3 Accepted 1497ms 70.441 MiB
#4 Accepted 243ms 7.691 MiB
#5 Accepted 353ms 10.445 MiB
#6 Accepted 373ms 10.414 MiB
#7 Accepted 1754ms 70.668 MiB
#8 Accepted 1739ms 70.879 MiB
#9 Accepted 1782ms 71.34 MiB
#10 Accepted 1773ms 71.738 MiB

信息

递交者
类型
递交
题目
P2053 世界地图
语言
C++
递交时间
2019-05-07 22:36:44
评测时间
2019-05-07 22:36:44
评测机
分数
100
总耗时
11036ms
峰值内存
71.738 MiB