/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:76:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int i=1;i<=n;i++)
      ^~~
/in/foo.cc:79:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(int c=1;c<=6;c++)
     ^~~
/in/foo.cc:44:31: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
  double l=0,r=n/(1.0+P*n),mid,ans;
                               ^~~
/in/foo.cc:94:23: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%.3lf\n",mid);
                       ^
# 状态 耗时 内存占用
#1 Accepted 609ms 8.961 MiB
#2 Accepted 557ms 9.262 MiB
#3 Accepted 667ms 8.988 MiB
#4 Accepted 667ms 9.57 MiB
#5 Accepted 780ms 9.82 MiB
#6 Accepted 361ms 8.875 MiB
#7 Accepted 301ms 9.801 MiB
#8 Accepted 320ms 9.5 MiB
#9 Accepted 336ms 9.625 MiB
#10 Accepted 365ms 9.84 MiB
#11 Accepted 272ms 4.59 MiB
#12 Accepted 1508ms 2.621 MiB
#13 Wrong Answer 316ms 4.723 MiB
#14 Accepted 1716ms 2.723 MiB
#15 Accepted 1872ms 4.734 MiB
#16 Wrong Answer 137ms 2.824 MiB
#17 Accepted 664ms 2.711 MiB
#18 Accepted 726ms 4.719 MiB
#19 Accepted 148ms 4.699 MiB
#20 Accepted 941ms 2.82 MiB

信息

递交者
类型
递交
题目
P1962 嫁接树
语言
C++
递交时间
2018-02-25 20:34:22
评测时间
2018-02-25 20:34:22
评测机
分数
90
总耗时
13272ms
峰值内存
9.84 MiB