/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:110:28: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
    ans-=tree[tree[x].son[kk]].wtcl;
                            ^
foo.cc:16:11: warning: 'yyyy' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (y-x)*r[d];
           ^
foo.cc:91:37: note: 'yyyy' was declared here
   double ans,xx,yy,xf,yf,xh,yh,xxxx,yyyy,hh;
                                     ^
foo.cc:16:11: warning: 'xxxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (y-x)*r[d];
           ^
foo.cc:91:32: note: 'xxxx' was declared here
   double ans,xx,yy,xf,yf,xh,yh,xxxx,yyyy,hh;
                                ^
foo.cc:124:56: 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:123:18: warning: 'xxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
   xh=tree[x].wtcl-tree[xxx].wtcl;
                  ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 1ms 396.0 KiB
#3 Accepted 2ms 372.0 KiB
#4 Accepted 3ms 376.0 KiB
#5 Accepted 4ms 376.0 KiB
#6 Accepted 4ms 1016.0 KiB
#7 Accepted 30ms 1.406 MiB
#8 Accepted 234ms 1.051 MiB
#9 Accepted 153ms 1.117 MiB
#10 Accepted 205ms 1.406 MiB

信息

递交者
类型
递交
题目
P1086 Sunnypig闯穿梭关
语言
C++
递交时间
2020-10-31 10:41:10
评测时间
2020-10-31 10:44:45
评测机
分数
135
总耗时
642ms
峰值内存
1.406 MiB