/ TYWZ /

记录详情

Accepted

/in/foo.cc: In function 'int turn(int, int, int)':
/in/foo.cc:25:9: warning: 'new_dir' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return new_dir;
         ^~~~~~~
/in/foo.cc: In function 'std::pair<int, int> next(int, int, int)':
/in/foo.cc:28:9: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int tx,ty,minl;
         ^~
/in/foo.cc:28:6: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int tx,ty,minl;
      ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:74:29: warning: 'new_dir' may be used uninitialized in this function [-Wmaybe-uninitialized]
   t+=abs(nx-x),x=nx,y=ny,dir=turn(x,y,dir);
                          ~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 7ms 9.41 MiB
#2 Accepted 7ms 9.465 MiB
#3 Accepted 6ms 9.434 MiB
#4 Accepted 7ms 9.41 MiB
#5 Accepted 7ms 9.438 MiB
#6 Accepted 7ms 9.363 MiB
#7 Accepted 7ms 9.5 MiB
#8 Accepted 8ms 9.469 MiB
#9 Accepted 8ms 9.5 MiB
#10 Accepted 8ms 9.535 MiB
#11 Accepted 7ms 9.516 MiB
#12 Accepted 8ms 9.609 MiB
#13 Accepted 82ms 15.473 MiB
#14 Accepted 84ms 15.48 MiB
#15 Accepted 83ms 15.262 MiB
#16 Accepted 65ms 14.289 MiB
#17 Accepted 66ms 14.648 MiB
#18 Accepted 61ms 13.703 MiB
#19 Accepted 81ms 14.98 MiB
#20 Accepted 76ms 14.793 MiB

信息

递交者
类型
递交
题目
2019.2.10 Problem C - ray
比赛
2019.2.10补题通道
语言
C++
递交时间
2019-02-10 21:47:19
评测时间
2019-02-10 21:47:19
评测机
分数
100
总耗时
695ms
峰值内存
15.48 MiB