记录详情

Wrong Answer

/in/foo.cc: In function 'void init()':
/in/foo.cc:10:16: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
       if(t[i][j]==0)
          ~~~~~~^
/in/foo.cc:7:19: note: within this loop
      for(int j=1;j<=10;j++)
                  ~^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:53:16: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
       if(t[i][j]==2)
          ~~~~~~^
/in/foo.cc:50:19: note: within this loop
      for(int j=1;j<=10;j++)
                  ~^~~~
/in/foo.cc:30:16: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
       if(t[i][j]>=2)
          ~~~~~~^
/in/foo.cc:26:19: note: within this loop
      for(int j=1;j<=10;j++)
                  ~^~~~
/in/foo.cc:22:16: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
       if(t[j][i]>=2)
          ~~~~~~^
/in/foo.cc:18:19: note: within this loop
      for(int j=1;j<=10;j++)
                  ~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 200.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Wrong Answer 1ms 212.0 KiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Wrong Answer 1ms 216.0 KiB
#8 Accepted 1ms 216.0 KiB
#9 Accepted 1ms 212.0 KiB
#10 Accepted 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P1008 绿纹龙的森林游记
语言
C++
递交时间
2019-07-02 16:41:53
评测时间
2019-07-02 16:41:53
评测机
分数
40
总耗时
17ms
峰值内存
216.0 KiB