记录详情

Runtime Error

foo.cc: In function 'void solve()':
foo.cc:18:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   18 |     for(int i=1;i<=a.size();i++)f[i][0]=i;
      |                 ~^~~~~~~~~~
foo.cc:19:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |     for(int i=1;i<=b.size();i++)f[0][i]=i;
      |                 ~^~~~~~~~~~
foo.cc:20:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |     for(int i=1;i<=a.size();i++){
      |                 ~^~~~~~~~~~
foo.cc:21:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   21 |         for(int j=1;j<=b.size();j++){
      |                     ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 5ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 5ms 412.0 KiB
#6 Accepted 13ms 4.266 MiB
#7 Runtime Error Segmentation fault 9ms 4.402 MiB
#8 Wrong Answer Read 838, expect 4234. 55ms 8.051 MiB
#9 Runtime Error Segmentation fault 10ms 4.402 MiB
#10 Runtime Error Segmentation fault 9ms 4.402 MiB

信息

递交者
类型
递交
题目
P1451 3-14 编辑距离
比赛
2023年暑期算法队集训赛1
语言
C++
递交时间
2023-07-06 15:08:07
评测时间
2023-07-07 00:40:19
评测机
分数
60
总耗时
123ms
峰值内存
8.051 MiB