/ 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 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Wrong Answer Read Error!, expect 10. 3ms 412.0 KiB
#4 Wrong Answer Read Error!, expect 14. 3ms 412.0 KiB
#5 Wrong Answer Read Error!, expect 40. 3ms 360.0 KiB
#6 Wrong Answer Read Error!, expect 8. 3ms 412.0 KiB
#7 Wrong Answer Read Error!, expect 19. 3ms 412.0 KiB
#8 Accepted 3ms 412.0 KiB
#9 Accepted 3ms 332.0 KiB
#10 Accepted 3ms 412.0 KiB

信息

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