记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0; i<s.length(); i++) {
               ~^~~~~~~~~~~
/in/foo.cc:28:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  } else if(pos+k>=s.length()-1) {
            ~~~~~^~~~~~~~~~~~~~
/in/foo.cc:30:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(pos==s.length()) {
      ~~~^~~~~~~~~~~~
/in/foo.cc:43:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  } else if(pos+k<s.length()-1) {
            ~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 404.0 KiB
#2 Accepted 6ms 368.0 KiB
#3 Accepted 2ms 388.0 KiB
#4 Accepted 2ms 360.0 KiB

信息

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