记录详情

Accepted

foo.cc: In function 'int getNum(int*, int, int)':
foo.cc:14:5: warning: no return statement in function returning non-void [-Wreturn-type]
     }
     ^
foo.cc: In function 'bool find(int)':
foo.cc:87:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if(j==s.size()-1&&s[i]=='0') return false;
         ~^~~~~~~~~~~~
foo.cc:90:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if(j>=s.size()-1) return true;
           ~^~~~~~~~~~~~
foo.cc:91:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if(n>=s.size()-1) {n=s.size()-1;if(!tailCheck(i,j,m,n)) return false;}
           ~^~~~~~~~~~~~
foo.cc: In function 'bool Equal000(std::__cxx11::string)':
foo.cc:168:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int i=0;i<s1.size();++i)
                  ~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:196:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int l=1;l<=s1.size();++l)
                 ~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 640.0 KiB
#2 Accepted 2ms 640.0 KiB
#3 Accepted 2ms 640.0 KiB
#4 Accepted 2ms 640.0 KiB
#5 Accepted 2ms 640.0 KiB
#6 Accepted 2ms 632.0 KiB
#7 Accepted 2ms 640.0 KiB
#8 Accepted 1ms 640.0 KiB
#9 Accepted 2ms 632.0 KiB
#10 Accepted 2ms 640.0 KiB
#11 Accepted 7ms 640.0 KiB
#12 Accepted 2ms 684.0 KiB
#13 Accepted 10ms 628.0 KiB
#14 Accepted 2ms 640.0 KiB
#15 Accepted 2ms 640.0 KiB
#16 Accepted 2ms 640.0 KiB
#17 Accepted 2ms 640.0 KiB
#18 Accepted 2ms 640.0 KiB
#19 Accepted 1ms 640.0 KiB
#20 Accepted 1ms 640.0 KiB
#21 Accepted 2ms 640.0 KiB
#22 Accepted 2ms 640.0 KiB
#23 Accepted 2ms 640.0 KiB
#24 Accepted 2ms 640.0 KiB
#25 Accepted 9ms 672.0 KiB
#26 Accepted 9ms 676.0 KiB
#27 Accepted 24ms 648.0 KiB
#28 Accepted 6ms 676.0 KiB
#29 Accepted 57ms 676.0 KiB
#30 Accepted 13ms 684.0 KiB
#31 Accepted 6ms 680.0 KiB
#32 Accepted 9ms 684.0 KiB
#33 Accepted 9ms 672.0 KiB
#34 Accepted 6ms 644.0 KiB
#35 Accepted 6ms 640.0 KiB
#36 Accepted 36ms 652.0 KiB
#37 Accepted 25ms 688.0 KiB
#38 Accepted 8ms 648.0 KiB
#39 Accepted 8ms 688.0 KiB
#40 Accepted 9ms 652.0 KiB

信息

递交者
类型
递交
题目
P1224 超长数字串
语言
C++
递交时间
2021-10-31 19:38:44
评测时间
2021-10-31 19:38:44
评测机
分数
400
总耗时
312ms
峰值内存
688.0 KiB