/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void MAXTree(int)':
/in/foo.cc:40:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<E[root].size();i++)
              ~^~~~~~~~~~~~~~~
/in/foo.cc:56:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<E[now].size();i++)
               ~^~~~~~~~~~~~~~
/in/foo.cc:50:28: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized]
   tree[next].dep=tree[now].dep+1;
                  ~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 1.445 MiB
#2 Accepted 4ms 1.375 MiB
#3 Accepted 9ms 1.625 MiB
#4 Accepted 7ms 1.625 MiB
#5 Accepted 6ms 1.738 MiB
#6 Accepted 7ms 1.625 MiB
#7 Accepted 13ms 2.57 MiB
#8 Accepted 16ms 2.375 MiB
#9 Accepted 17ms 2.375 MiB
#10 Accepted 15ms 2.375 MiB
#11 Accepted 15ms 2.625 MiB
#12 Accepted 11ms 2.625 MiB
#13 Accepted 697ms 2.938 MiB
#14 Accepted 567ms 2.949 MiB
#15 Accepted 587ms 2.875 MiB
#16 Accepted 597ms 2.832 MiB
#17 Accepted 667ms 2.883 MiB
#18 Accepted 538ms 2.887 MiB
#19 Accepted 553ms 2.75 MiB
#20 Accepted 562ms 2.797 MiB

信息

递交者
类型
递交
题目
P1843 货车运输
语言
C++
递交时间
2017-08-28 19:34:36
评测时间
2017-08-28 19:34:36
评测机
分数
100
总耗时
4901ms
峰值内存
2.949 MiB