记录详情

Accepted

/in/foo.cc: In function 'void delete2min(std::__cxx11::string&)':
/in/foo.cc:26:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<str.length()-1;i++){
              ~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:43:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(pos==str.npos || pos>k) break;
          
/in/foo.cc:49:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(str.empty() || str.length()<=k){
                    ~~~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 680.0 KiB
#2 Accepted 2ms 700.0 KiB
#3 Accepted 2ms 272.0 KiB
#4 Accepted 1ms 212.0 KiB
#5 Accepted 1ms 208.0 KiB
#6 Accepted 1ms 212.0 KiB
#7 Accepted 1ms 208.0 KiB
#8 Accepted 1ms 212.0 KiB
#9 Accepted 1ms 208.0 KiB
#10 Accepted 1ms 212.0 KiB

信息

递交者
类型
递交
题目
xk-3:删除数字
比赛
3-31星空赛
语言
C++
递交时间
2019-03-31 08:44:24
评测时间
2019-03-31 08:44:24
评测机
分数
100
总耗时
15ms
峰值内存
700.0 KiB