/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void Build(long long int, long long int, long long int)':
foo.cc:98:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=ll+rr>>1;
             ~~^~~
foo.cc: In function 'Ans Query(long long int, long long int, long long int)':
foo.cc:113:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=T[k].l+T[k].r>>1;
             ~~~~~~^~~~~~~
foo.cc: In function 'void IntervalAdd(long long int, long long int, long long int, long long int, long long int)':
foo.cc:148:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=T[k].l+T[k].r>>1;
             ~~~~~~^~~~~~~
foo.cc: In function 'void IntervalMemset(long long int, long long int, long long int)':
foo.cc:167:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=T[k].l+T[k].r>>1;
             ~~~~~~^~~~~~~
foo.cc: At global scope:
foo.cc:172:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1.0000000000, expect 1.000. 54ms 76.738 MiB
#2 Wrong Answer Read -0.0113577518, expect -0.011. 577ms 76.727 MiB
#3 Wrong Answer Read 0.0102520954, expect 0.010. 603ms 76.746 MiB
#4 Wrong Answer Read -0.0001946126, expect -0.000. 655ms 76.727 MiB
#5 Wrong Answer Read -0.0064152616, expect -0.006. 676ms 76.648 MiB

信息

递交者
类型
递交
题目
P2018 相关分析
语言
C++
递交时间
2021-08-08 20:57:09
评测时间
2021-08-08 20:57:09
评测机
分数
0
总耗时
2567ms
峰值内存
76.746 MiB