/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:49:22: warning: 'y0' may be used uninitialized [-Wmaybe-uninitialized]
   49 |         if(W[x0-1][y0]<DT)DX=-1,DY=0,DT=W[x0-1][y0];
      |            ~~~~~~~~~~^
foo.cc:9:16: note: 'y0' was declared here
    9 |     int x,y,x0,y0;cin>>x>>y;
      |                ^~
foo.cc:49:16: warning: 'x0' may be used uninitialized [-Wmaybe-uninitialized]
   49 |         if(W[x0-1][y0]<DT)DX=-1,DY=0,DT=W[x0-1][y0];
      |              ~~^~
foo.cc:9:13: note: 'x0' was declared here
    9 |     int x,y,x0,y0;cin>>x>>y;
      |             ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect Error!. 5ms 412.0 KiB
#2 Wrong Answer Read 0, expect Error!. 5ms 412.0 KiB
#3 Wrong Answer Read 24,1, expect 24,2. 4ms 412.0 KiB
#4 Wrong Answer Read 29,11, expect 29,12. 4ms 408.0 KiB
#5 Wrong Answer Read 8,12, expect 7,12. 3ms 412.0 KiB
#6 Wrong Answer Read 1,7, expect 1,6. 3ms 412.0 KiB
#7 Wrong Answer Read 21,10, expect 21,9. 3ms 412.0 KiB
#8 Wrong Answer Read 0, expect Error!. 4ms 412.0 KiB
#9 Wrong Answer Read 0, expect Error!. 3ms 412.0 KiB
#10 Wrong Answer Read 0, expect Error!. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1503 笨笨的纸条传递
语言
C++
递交时间
2023-08-11 11:04:50
评测时间
2023-08-11 11:04:50
评测机
分数
0
总耗时
42ms
峰值内存
412.0 KiB