记录详情

Accepted

/in/foo.cc: In function 'int weishu(std::__cxx11::string)':
/in/foo.cc:7:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<x.size();i++) if(x[i]=='.') break;
          ~^~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:8: warning: statement has no effect [-Wunused-value]
   for(i;;i++)
        ^
/in/foo.cc:38:8: warning: statement has no effect [-Wunused-value]
   for(i;;i++)
        ^
/in/foo.cc:14:7: warning: unused variable 'z' [-Wunused-variable]
  char z;
       ^
# 状态 耗时 内存占用
#1 Accepted 2ms 360.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 340.0 KiB
#4 Accepted 1ms 340.0 KiB

信息

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