记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:50:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (i >= s.length())
       ~~^~~~~~~~~~~~~
/in/foo.cc:59:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (i < s.length() && s[i] >= '5')
       ~~^~~~~~~~~~~~
/in/foo.cc:63:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  else if (i < s.length())
           ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 364.0 KiB
#2 Accepted 2ms 336.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 376.0 KiB

信息

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