/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int solve2(int)':
/in/foo.cc:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < v.size(); i++)
                  ~~^~~~~~~~~~
/in/foo.cc:73:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < v.size(); i++)
                  ~~^~~~~~~~~~
/in/foo.cc:77:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = i + 1; j < v.size(); j++)
                       ~~^~~~~~~~~~
/in/foo.cc:98:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < v.size(); i++)
                  ~~^~~~~~~~~~
/in/foo.cc:113:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < v.size() / 2; i++)
                  ~~^~~~~~~~~~~~~~
/in/foo.cc:118:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int j = v.size() - 1; j >= v.size() / 2; j--)
                             ~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 700.0 KiB
#2 Accepted 2ms 644.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Wrong Answer 1ms 212.0 KiB
#5 Wrong Answer 1ms 216.0 KiB
#6 Wrong Answer 2ms 216.0 KiB
#7 Wrong Answer 3ms 216.0 KiB
#8 Wrong Answer 3ms 212.0 KiB
#9 Wrong Answer 4ms 216.0 KiB
#10 Wrong Answer 5ms 204.0 KiB

信息

递交者
类型
递交
题目
P1039 最小差距
语言
C++
递交时间
2019-05-13 15:27:45
评测时间
2019-05-13 15:27:45
评测机
分数
30
总耗时
28ms
峰值内存
700.0 KiB