记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:13:22: warning: 'ex' is used uninitialized [-Wuninitialized]
   13 |         if (local[ex][ey]==0){
      |             ~~~~~~~~~^~~~
foo.c:12:19: note: 'ex' was declared here
   12 |         int sx,sy,ex,ey;
      |                   ^~
foo.c:13:22: warning: 'ey' is used uninitialized [-Wuninitialized]
   13 |         if (local[ex][ey]==0){
      |             ~~~~~~~~~^~~~
foo.c:12:22: note: 'ey' was declared here
   12 |         int sx,sy,ex,ey;
      |                      ^~
foo.c:14:25: warning: 'sx' may be used uninitialized [-Wmaybe-uninitialized]
   14 |                 if (sx+2<9&&sy+1<10)
      |                     ~~~~^~
foo.c:12:13: note: 'sx' was declared here
   12 |         int sx,sy,ex,ey;
      |             ^~
foo.c:14:33: warning: 'sy' may be used uninitialized [-Wmaybe-uninitialized]
   14 |                 if (sx+2<9&&sy+1<10)
      |                             ~~~~^~~
foo.c:12:16: note: 'sy' was declared here
   12 |         int sx,sy,ex,ey;
      |                ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > YES 1ms 284.0 KiB
#2 Wrong Answer 0a1 > NO 1ms 284.0 KiB
#3 Wrong Answer 0a1 > NO 2ms 204.0 KiB
#4 Wrong Answer 0a1 > YES 1ms 284.0 KiB
#5 Wrong Answer 0a1 > NO 1ms 284.0 KiB
#6 Wrong Answer 0a1 > YES 1ms 284.0 KiB
#7 Wrong Answer 0a1 > NO 1ms 208.0 KiB
#8 Wrong Answer 0a1 > NO 1ms 284.0 KiB
#9 Wrong Answer 0a1 > YES 2ms 204.0 KiB
#10 Wrong Answer 0a1 > NO 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1480 F. Poor horse leg
语言
C
递交时间
2023-09-05 14:55:48
评测时间
2023-09-05 14:55:48
评测机
分数
0
总耗时
17ms
峰值内存
284.0 KiB