/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void init()':
/in/foo.cc:20:46: warning: overflow in implicit constant conversion [-Woverflow]
     memset(dis,0x3f3f3f3f3f3f3f3f,sizeof(dis));
                                              ^
/in/foo.cc: In function 'long long int get_len()':
/in/foo.cc:66:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<path.size();i++) len+=path[i].val;
                 ~^~~~~~~~~~~~
/in/foo.cc: In function 'long long int f(long long int)':
/in/foo.cc:73:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (l<path.size()&&sum1+path[l].val<=x) {
            ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 14ms 15.82 MiB
#2 Accepted 20ms 16.602 MiB
#3 Accepted 77ms 19.043 MiB
#4 Accepted 156ms 22.367 MiB
#5 Accepted 155ms 22.371 MiB
#6 Accepted 155ms 22.379 MiB
#7 Accepted 351ms 29.035 MiB
#8 Accepted 345ms 29.02 MiB
#9 Accepted 757ms 42.305 MiB
#10 Accepted 748ms 42.254 MiB

信息

递交者
类型
递交
题目
P1553 树网的核加强版
语言
C++
递交时间
2021-12-14 13:29:02
评测时间
2021-12-14 13:29:02
评测机
分数
100
总耗时
2781ms
峰值内存
42.305 MiB