/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:28:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |         else for (int i = 4; i < s.size() - 1; i++)
      |                              ~~^~~~~~~~~~~~~~
foo.cc:47:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   47 |                         for (int i = 0; i < s1.size(); i++) {
      |                                         ~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Wrong Answer 1d0 < Yes 5d3 < No 8,9d5 < No 3ms 256.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Wrong Answer Read No, expect Yes. 3ms 256.0 KiB
#8 Wrong Answer Read No, expect Yes. 3ms 256.0 KiB
#9 Wrong Answer Read No, expect Yes. 3ms 256.0 KiB
#10 Wrong Answer Read ERR, expect No. 3ms 256.0 KiB

信息

递交者
类型
递交
题目
P2029 时间复杂度
语言
C++
递交时间
2022-08-10 11:36:52
评测时间
2022-08-10 11:36:52
评测机
分数
50
总耗时
32ms
峰值内存
256.0 KiB