记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<num.length();i++){
          ~^~~~~~~~~~~~~
/in/foo.cc:28:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  else if(num.length()-i<n){
          ~~~~~~~~~~~~~~^~
/in/foo.cc:30:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(;i<num.length();i++){
        ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 388.0 KiB
#2 Accepted 1ms 340.0 KiB
#3 Accepted 1ms 416.0 KiB
#4 Accepted 1ms 364.0 KiB

信息

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