/ Vijos /

记录详情

Accepted

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 Accepted 55ms 76.727 MiB
#2 Accepted 560ms 76.742 MiB
#3 Accepted 587ms 76.727 MiB
#4 Accepted 645ms 76.742 MiB
#5 Accepted 663ms 76.742 MiB

信息

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