/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int calc(std::vector<bool>, ll)':
/in/foo.cc:56:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i + 1 < vec.size(); ++i)
                   ~~~~~~^~~~~~~~~~~~
/in/foo.cc:66:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < vec.size(); i += 2)
                     ~~^~~~~~~~~~~~
/in/foo.cc:73:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 1; i < vec.size(); i += 2)
                     ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 540.0 KiB
#2 Accepted 2ms 832.0 KiB
#3 Accepted 2ms 216.0 KiB
#4 Accepted 2ms 216.0 KiB
#5 Accepted 5ms 856.0 KiB
#6 Accepted 6ms 856.0 KiB
#7 Accepted 5ms 856.0 KiB
#8 Accepted 6ms 864.0 KiB
#9 Accepted 5ms 792.0 KiB
#10 Accepted 5ms 848.0 KiB

信息

递交者
类型
递交
题目
P2056 连续子序列
语言
C++
递交时间
2019-06-30 00:33:38
评测时间
2019-06-30 00:33:38
评测机
分数
100
总耗时
44ms
峰值内存
864.0 KiB