记录详情

Accepted

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

信息

递交者
类型
递交
题目
跳跳跳跳
语言
C++
递交时间
2020-08-27 10:33:28
评测时间
2021-12-02 23:33:41
评测机
分数
10
总耗时
4ms
峰值内存
384.0 KiB