记录详情

Accepted

foo.cc: In function 'bool OK()':
foo.cc:16:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |  return Next.x >= 0 && Next.x < str.size() && str[Next.x] != ' ';
      |                        ~~~~~~~^~~~~~~~~~~~
foo.cc: In function 'int BFS()':
foo.cc:30:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |   if (now.x == str.size() - 1)
      |       ~~~~~~^~~~~~~~~~~~~~~~~
foo.cc:35:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   35 |   else if (now.x > str.size() - 1)
      |            ~~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
跳跳跳跳跳
语言
C++
递交时间
2020-12-11 14:19:47
评测时间
2021-12-02 23:37:28
评测机
分数
10
总耗时
2ms
峰值内存
384.0 KiB