Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<v.size();i++)
              ~^~~~~~~~~
/in/foo.cc:12:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<v[i].size();j++)
               ~^~~~~~~~~~~~
/in/foo.cc:18:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(v[i].size()>maxn)maxn=v[i].size();
      ~~~~~~~~~~~^~~~~
/in/foo.cc:20:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<v.size();i++)
              ~^~~~~~~~~
/in/foo.cc:21:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(v[i].size()==maxn)
      ~~~~~~~~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 356.0 KiB
#3 Wrong Answer 1ms 360.0 KiB
#4 Accepted 1ms 340.0 KiB
#5 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1954 最长长度单词
语言
C++
递交时间
2024-02-17 17:48:07
评测时间
2024-02-17 17:48:07
评测机
分数
80
总耗时
8ms
峰值内存
360.0 KiB