/ SUOI /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:51:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j,k;
           ^
/in/foo.cc:51:13: warning: unused variable 'k' [-Wunused-variable]
     int i,j,k;
             ^
/in/foo.cc:78:33: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
   double r=(d==0||e==0)?0:(1.0*d*e)/(d+e);
                           ~~~~~~^~~
/in/foo.cc:78:33: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.cc:79:6: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   r+=c;
      ^
/in/foo.cc:80:26: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
   r=(r==0||b==0)?0:(1.0*r*b)/(r+b);
                    ~~~~~~^~~
/in/foo.cc:81:6: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
   r+=a;
      ^
# 状态 耗时 内存占用
#1 Accepted 4ms 8.363 MiB
#2 Accepted 3ms 8.375 MiB
#3 Accepted 5ms 8.375 MiB
#4 Accepted 5ms 8.344 MiB
#5 Accepted 6ms 6.25 MiB
#6 Accepted 7ms 6.332 MiB
#7 Accepted 7ms 6.617 MiB
#8 Accepted 11ms 8.359 MiB
#9 Accepted 10ms 6.625 MiB
#10 Accepted 7ms 6.613 MiB
#11 Accepted 61ms 14.566 MiB
#12 Accepted 77ms 15.371 MiB
#13 Accepted 64ms 16.332 MiB
#14 Accepted 83ms 14.359 MiB
#15 Accepted 74ms 13.035 MiB
#16 Accepted 77ms 12.836 MiB
#17 Accepted 75ms 12.969 MiB
#18 Accepted 75ms 13.047 MiB
#19 Accepted 1765ms 63.84 MiB
#20 Accepted 1875ms 63.867 MiB

信息

递交者
类型
递交
题目
#55 简单电阻树
语言
C++
递交时间
2018-10-12 17:29:00
评测时间
2018-10-12 17:29:00
评测机
分数
100
总耗时
4301ms
峰值内存
63.867 MiB