/ 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.00, expect 1.000. 53ms 76.676 MiB
#2 Wrong Answer Read -0.01, expect -0.011. 583ms 76.727 MiB
#3 Wrong Answer Read 0.01, expect 0.010. 603ms 76.742 MiB
#4 Wrong Answer Read -0.00, expect -0.000. 669ms 76.738 MiB
#5 Wrong Answer Read -0.01, expect -0.006. 686ms 76.695 MiB

信息

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