记录详情

Wrong Answer

foo.cc: In function 'bool BFS()':
foo.cc:19:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |         if (now.x==a.size()-1){
      |             ~~~~~^~~~~~~~~~~~
foo.cc:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   37 |             if (next.x<a.size()&&a[next.x]!=' '){
      |                 ~~~~~~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:47:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   47 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 1. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
跳跳跳跳跳
语言
C++
递交时间
2021-12-02 23:55:15
评测时间
2021-12-02 23:55:15
评测机
分数
0
总耗时
3ms
峰值内存
384.0 KiB