/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:48:30: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  t[x].l=l,t[x].r=r; int mid=l+r>>1;
                             ~^~
/in/foo.cc:49:69: warning: narrowing conversion of 'l' from 'int' to 'DB {aka double}' inside { } [-Wnarrowing]
  if (l==r) return void(t[x]=(tree){a[l],b[l],a[l]*a[l],a[l]*b[l],l,r});
                                                                     ^
/in/foo.cc:49:69: warning: narrowing conversion of 'r' from 'int' to 'DB {aka double}' inside { } [-Wnarrowing]
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 2.203 MiB
#2 Wrong Answer 228ms 22.691 MiB
#3 Wrong Answer 233ms 22.941 MiB
#4 Wrong Answer 265ms 21.934 MiB
#5 Wrong Answer 274ms 23.391 MiB

信息

递交者
类型
递交
题目
P2018 相关分析
语言
C++
递交时间
2020-08-05 19:23:15
评测时间
2020-08-05 19:23:15
评测机
分数
0
总耗时
1005ms
峰值内存
23.391 MiB