记录详情

Accepted

/in/foo.cc: In function 'bool f(std::__cxx11::string)':
/in/foo.cc:25:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < ip.length(); i++)
                  ~~^~~~~~~~~~~~~
/in/foo.cc:35:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < ip.length(); i++)
                  ~~^~~~~~~~~~~~~
/in/foo.cc:38:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (i + 1 == ip.length()&&(ip[i]>='0'&&ip[i]<='9'))
       ~~~~~~^~~~~~~~~~~~~~
/in/foo.cc:40:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (ip[i] == '.' || i+1 == ip.length())
                       ~~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 364.0 KiB
#2 Accepted 2ms 372.0 KiB
#3 Accepted 2ms 360.0 KiB

信息

递交者
类型
递交
题目
合法ip
语言
C++
递交时间
2018-03-29 14:07:08
评测时间
2018-03-29 14:07:08
评测机
分数
30
总耗时
7ms
峰值内存
372.0 KiB