/ Vijos /

记录详情

Time Exceeded

/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 734ms 9.137 MiB
#2 Accepted 661ms 9.715 MiB
#3 Accepted 776ms 8.898 MiB
#4 Accepted 848ms 9.348 MiB
#5 Accepted 921ms 9.75 MiB
#6 Accepted 459ms 9.0 MiB
#7 Accepted 420ms 9.578 MiB
#8 Accepted 416ms 9.375 MiB
#9 Accepted 462ms 9.875 MiB
#10 Accepted 483ms 9.871 MiB
#11 Accepted 304ms 4.57 MiB
#12 Accepted 1714ms 2.59 MiB
#13 Wrong Answer 317ms 4.637 MiB
#14 Time Exceeded ≥2002ms ≥2.699 MiB
#15 Time Exceeded ≥2003ms ≥4.723 MiB
#16 Wrong Answer 200ms 4.484 MiB
#17 Accepted 988ms 4.574 MiB
#18 Accepted 1125ms 2.73 MiB
#19 Wrong Answer 261ms 4.855 MiB
#20 Accepted 1240ms 2.949 MiB

信息

递交者
类型
递交
题目
P1962 嫁接树
语言
C++
递交时间
2018-02-25 20:33:16
评测时间
2018-02-25 20:33:16
评测机
分数
75
总耗时
≥16344ms
峰值内存
≥9.875 MiB