记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(i = 0;ss[i]!='.'&&i<ss.size();i++)
                          ~^~~~~~~~~~
/in/foo.cc:47:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(to_string(a).size()!=numa||ss[i+1]<'0'||ss[i+1]>'9')
        ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:58:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(;ss[i]!='.'&&i<ss.size();i++)
                       ~^~~~~~~~~~
/in/foo.cc:83:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if(to_string(b).size()!=numb||ss[i+1]<'0'||ss[i+1]>'9')
          ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:94:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for(;ss[i]!='.'&&i<ss.size();i++)
                         ~^~~~~~~~~~
/in/foo.cc:119:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(to_string(c).size()!=numc||ss[i+1]<'0'||ss[i+1]>'9')
            ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:130:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          for(;ss[i]!=':'&&i<ss.size();i++)
                           ~^~~~~~~~~~
/in/foo.cc:155:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           if(to_string(d).size()!=numd||ss[i+1]<'0'||ss[i+1]>'9')
              ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:166:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
            for(;i<ss.size();i++)
                 ~^~~~~~~~~~
/in/foo.cc:191:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(to_string(e).size()!=nume)
                ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:233:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(i = 0;ss[i]!='.'&&i<ss.size();i++)
                          ~^~~~~~~~~~
/in/foo.cc:258:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(to_string(a).size()!=numa||ss[i+1]<'0'||ss[i+1]>'9')
        ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:269:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(;ss[i]!='.'&&i<ss.size();i++)
                       ~^~~~~~~~~~
/in/foo.cc:294:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if(to_string(b).size()!=numb||ss[i+1]<'0'||ss[i+1]>'9')
          ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:305:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for(;ss[i]!='.'&&i<ss.size();i++)
                         ~^~~~~~~~~~
/in/foo.cc:330:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(to_string(c).size()!=numc||ss[i+1]<'0'||ss[i+1]>'9')
            ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:341:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          for(;ss[i]!=':'&&i<ss.size();i++)
                           ~^~~~~~~~~~
/in/foo.cc:366:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           if(to_string(d).size()!=numd||ss[i+1]<'0'||ss[i+1]>'9')
              ~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:377:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
            for(;i<ss.size();i++)
                 ~^~~~~~~~~~
/in/foo.cc:402:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(to_string(e).size()!=nume)
                ~~~~~~~~~~~~~~~~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 376.0 KiB
#4 Accepted 4ms 444.0 KiB
#5 Accepted 7ms 472.0 KiB
#6 Accepted 7ms 476.0 KiB
#7 Accepted 7ms 480.0 KiB
#8 Accepted 7ms 480.0 KiB
#9 Accepted 7ms 472.0 KiB
#10 Accepted 7ms 460.0 KiB
#11 Accepted 6ms 464.0 KiB
#12 Accepted 6ms 460.0 KiB
#13 Accepted 6ms 460.0 KiB
#14 Accepted 6ms 460.0 KiB
#15 Accepted 6ms 460.0 KiB
#16 Accepted 6ms 456.0 KiB
#17 Accepted 6ms 456.0 KiB
#18 Accepted 6ms 456.0 KiB
#19 Accepted 6ms 456.0 KiB
#20 Accepted 6ms 452.0 KiB

信息

递交者
类型
递交
题目
P1013 [CSP-J 2021 第三题] 网络连接
语言
C++
递交时间
2024-10-04 16:59:06
评测时间
2024-10-04 16:59:06
评测机
分数
100
总耗时
118ms
峰值内存
480.0 KiB