/ OK /

记录详情

System Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |     for(int i=0;i<s.size();i++)
      |                 ~^~~~~~~~~
/in/foo.cc:18:31: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   18 |                 if(a[j].size()<=i+1)if(check(i,j))f[i+1]=min(f[i+1],f[i+1-a[j].size()]+1);
      |                    ~~~~~~~~~~~^~~~~
/in/foo.cc:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   16 |     for(int i=0;i<s.size();i++)
      |     ^~~
/in/foo.cc:19:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   19 |         cout<<f[s.size()];
      |         ^~~~
VJ4Error('ProblemDataNotFoundError', '题目 58b7f460d3d8a1542f6d2bf4 的数据未找到。', 'nssy', '58b7f460d3d8a1542f6d2bf4')

信息

递交者
类型
递交
题目
单词的划分
语言
C++
递交时间
2025-10-13 22:26:21
评测时间
2025-10-13 22:26:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes