/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=1;i<=a.length();i++)
                     ~^~~~~~~~~~~~
/in/foo.cc:19:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int j=1;j<=b.length();j++)
                         ~^~~~~~~~~~~~
/in/foo.cc:25:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::__cxx11::basic_string<char>::size_type {aka long unsigned int}' [-Wformat=]
         printf("%d\n",a.length()+b.length()-d[a.length()][b.length()]);
                                                                      ^
# 状态 耗时 内存占用
#1 Accepted 2ms 348.0 KiB

信息

递交者
类型
递交
题目
P1111 小胖的水果
语言
C++
递交时间
2020-06-17 09:51:41
评测时间
2020-06-17 09:51:41
评测机
分数
100
总耗时
2ms
峰值内存
348.0 KiB