记录详情

Wrong Answer

/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:25:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i<x.length())
      ~^~~~~~~~~~~
/in/foo.cc:30:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(i<x.length()&&x[index+1]-'0'>=5)
     ~^~~~~~~~~~~
/in/foo.cc:32:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  else if(i<x.length())
          ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 340.0 KiB
#2 Accepted 2ms 380.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 332.0 KiB

信息

递交者
类型
递交
题目
P1305 B. Round Decimal
比赛
2021年互联网创新创业科技节程序设计大赛
语言
C++
递交时间
2021-12-23 20:29:40
评测时间
2021-12-23 20:29:40
评测机
分数
70
总耗时
8ms
峰值内存
380.0 KiB