Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<s.size();i++)
          ~^~~~~~~~~
/in/foo.cc:18:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=m+1;i<s.size();i++)
            ~^~~~~~~~~
/in/foo.cc:20:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(s[i]==32||i==s.size()-1)
                ~^~~~~~~~~~~~
/in/foo.cc:41:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(v[i]>=97&&v[i]<=122||v[i]>=65&&v[i]<=90)
              
# 状态 耗时 内存占用
#1 Accepted 1ms 340.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 336.0 KiB

信息

递交者
类型
递交
题目
P1954 最长长度单词
语言
C++
递交时间
2022-07-05 11:21:04
评测时间
2022-07-05 11:21:04
评测机
分数
100
总耗时
7ms
峰值内存
376.0 KiB