/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:125:17: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
             int kk;
                 ^~
foo.cc:19:17: warning: 'yyyy' may be used uninitialized in this function [-Wmaybe-uninitialized]
   return (2*pi-x+y)*r[d];
          ~~~~~~~^~~
foo.cc:114:43: note: 'yyyy' was declared here
         double ans,xx,yy,xf,yf,xh,yh,xxxx,yyyy,hh;
                                           ^~~~
foo.cc:19:17: warning: 'xxxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
   return (2*pi-x+y)*r[d];
          ~~~~~~~^~~
foo.cc:114:38: note: 'xxxx' was declared here
         double ans,xx,yy,xf,yf,xh,yh,xxxx,yyyy,hh;
                                      ^~~~
foo.cc:156:73: warning: 'yyy' may be used uninitialized in this function [-Wmaybe-uninitialized]
         yh=2*pi*(ee[tree[y].d-1]-ee[tree[h].d])-(tree[y].wtcl-tree[yyy].wtcl);
                                                               ~~~~~~~~~~^~~~
foo.cc:155:35: warning: 'xxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
         xh=tree[x].wtcl-tree[xxx].wtcl;
                         ~~~~~~~~~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 8ms 384.0 KiB
#5 Accepted 7ms 552.0 KiB
#6 Accepted 8ms 1.078 MiB
#7 Accepted 107ms 1.895 MiB
#8 Accepted 732ms 4.719 MiB
#9 Accepted 498ms 3.512 MiB
#10 Accepted 766ms 5.922 MiB

信息

递交者
类型
递交
题目
P1086 Sunnypig闯穿梭关
语言
C++
递交时间
2021-09-04 13:17:31
评测时间
2021-09-04 13:17:31
评测机
分数
135
总耗时
2139ms
峰值内存
5.922 MiB