/ Vijos /

记录详情

Accepted

/in/foo.cc:12:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i=1;i<=n;i++)
     ^~~
/in/foo.cc:31:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
         int tt=0;
         ^~~
/in/foo.cc:36:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
             for (int i=head;i<=tail;i++)
             ^~~
/in/foo.cc:37: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:31:13: warning: unused variable 'tt' [-Wunused-variable]
         int tt=0;
             ^~
# 状态 耗时 内存占用
#1 Accepted 61ms 11.5 MiB
#2 Accepted 3ms 4.328 MiB
#3 Accepted 6ms 4.348 MiB
#4 Accepted 6ms 4.48 MiB
#5 Accepted 5ms 4.371 MiB
#6 Accepted 5ms 4.461 MiB
#7 Accepted 5ms 6.496 MiB
#8 Accepted 7ms 4.625 MiB
#9 Accepted 5ms 4.5 MiB
#10 Accepted 31ms 8.859 MiB

信息

递交者
类型
递交
题目
P1226 拯救世界-拯救博士
语言
C++
递交时间
2017-10-29 20:57:51
评测时间
2017-10-29 20:57:51
评测机
分数
100
总耗时
139ms
峰值内存
11.5 MiB