/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
  scanf("%d%d",&r,&c);
               ~~   ^
/in/foo.cc:17:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
/in/foo.cc:50:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
             for (int i=head;i<=tail;i++)
             ^~~
/in/foo.cc:51:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
              a[team[i].x][team[i].y]=0;break;}//若当前步数已达到目标,则队列中剩余的点都是可走的点,将其导出
                                        ^~~~~
/in/foo.cc:57:36: warning: array subscript has type 'char' [-Wchar-subscripts]
             while (xx>1&&a[xx-1][yy]!=-1&&flag[xx-1][yy][team[head].bs]==false) //未到达边界且可走且不与前面重复,入队,下同
                                    ^
/in/foo.cc:57:56: warning: array subscript has type 'char' [-Wchar-subscripts]
             while (xx>1&&a[xx-1][yy]!=-1&&flag[xx-1][yy][team[head].bs]==false) //未到达边界且可走且不与前面重复,入队,下同
                                                        ^
/in/foo.cc:64:24: warning: array subscript has type 'char' [-Wchar-subscripts]
                 flag[xx][yy][team[head].bs]=true;//标记当前步数已走过
                        ^
/in/foo.cc:64:28: warning: array subscript has type 'char' [-Wchar-subscripts]
                 flag[xx][yy][team[head].bs]=true;//标记当前步数已走过
                            ^
/in/foo.cc:67:36: warning: array subscript has type 'char' [-Wchar-subscripts]
             while (xx<r&&a[xx+1][yy]!=-1&&flag[xx+1][yy][team[head].bs]==false)
                                    ^
/in/foo.cc:67:56: warning: array subscript has type 'char' [-Wchar-subscripts]
             while (xx<r&&a[xx+1][yy]!=-1&&flag[xx+1][yy][team[head].bs]==false)
                                                        ^
/in/foo.cc:74:24: warning: array subscript has type 'char' [-Wchar-subscripts]
                 flag[xx][yy][team[head].bs]=true;
                        ^
/in/foo.cc:74:28: warning: array subscript has type 'char' [-Wchar-subscripts]
                 flag[xx][yy][team[head].bs]=true;
                            ^
/in/foo.cc:77:30: warning: array subscript has type 'char' [-Wchar-subscripts]
             while (yy>1&&a[xx][yy-1]!=-1&&flag[xx][yy-1][team[head].bs]==false)
                              ^
/in/foo.cc:77:50: warning: array subscript has type 'char' [-Wchar-subscripts]
             while (yy>1&&a[xx][yy-1]!=-1&&flag[xx][yy-1][team[head].bs]==false)
                                                  ^
/in/foo.cc:84:24: warning: array subscript has type 'char' [-Wchar-subscripts]
                 flag[xx][yy][team[head].bs]=true;
                        ^
/in/foo.cc:84:28: warning: array subscript has type 'char' [-Wchar-subscripts]
                 flag[xx][yy][team[head].bs]=true;
                            ^
/in/foo.cc:87:30: warning: array subscript has type 'char' [-Wchar-subscripts]
             while (yy<c&&a[xx][yy+1]!=-1&&flag[xx][yy+1][team[head].bs]==false)
                              ^
/in/foo.cc:87:50: warning: array subscript has type 'char' [-Wchar-subscripts]
             while (yy<c&&a[xx][yy+1]!=-1&&flag[xx][yy+1][team[head].bs]==false)
                                                  ^
/in/foo.cc:94:24: warning: array subscript has type 'char' [-Wchar-subscripts]
                 flag[xx][yy][team[head].bs]=true;
                        ^
/in/foo.cc:94:28: warning: array subscript has type 'char' [-Wchar-subscripts]
                 flag[xx][yy][team[head].bs]=true;
                            ^
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 2.328 MiB
#2 Wrong Answer 2ms 2.312 MiB
#3 Wrong Answer 2ms 2.32 MiB
#4 Wrong Answer 2ms 328.0 KiB
#5 Wrong Answer 3ms 336.0 KiB
#6 Wrong Answer 2ms 324.0 KiB
#7 Wrong Answer 2ms 336.0 KiB
#8 Wrong Answer 1ms 448.0 KiB
#9 Wrong Answer 1ms 328.0 KiB
#10 Wrong Answer 1ms 332.0 KiB

信息

递交者
类型
递交
题目
P1226 拯救世界-拯救博士
语言
C++
递交时间
2017-10-29 20:56:32
评测时间
2017-10-29 20:56:32
评测机
分数
0
总耗时
24ms
峰值内存
2.328 MiB