/ SUOI /

记录详情

Accepted

/in/foo.cc: In function 'void build(int&, int, int)':
/in/foo.cc:43:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=L0+R0>>1;
             ~~^~~
/in/foo.cc: In function 'void ins(int, int, int, lint)':
/in/foo.cc:51:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     pushdw(p); int mid=L0+R0>>1;
                        ~~^~~
/in/foo.cc: In function 'lint query(int, int, int)':
/in/foo.cc:59:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     pushdw(p); int mid=L0+R0>>1; lint r=0;
                        ~~^~~
/in/foo.cc: In function 'void show(int, int, int)':
/in/foo.cc:67:102: warning: format '%d' expects argument of type 'int', but argument 6 has type 'lint {aka long long int}' [-Wformat=]
     printf("[%d,%d] sum=%lld v1=%lld(%d) v2=%lld tag=%lld\n",L0,R0,sum[p],v1[p],v1Cnt[p],v2[p],tag[p]);
                                                                                                      ^
/in/foo.cc:68:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=L0+R0>>1; if(L0==R0) return;
             ~~^~~
# 状态 耗时 内存占用
#1 Accepted 19ms 10.5 MiB
#2 Accepted 13ms 10.488 MiB
#3 Accepted 14ms 10.492 MiB
#4 Accepted 17ms 12.5 MiB
#5 Accepted 18ms 12.375 MiB
#6 Accepted 14ms 10.5 MiB
#7 Accepted 14ms 10.375 MiB
#8 Accepted 18ms 10.359 MiB
#9 Accepted 17ms 10.375 MiB
#10 Accepted 13ms 10.473 MiB
#11 Accepted 15ms 14.602 MiB
#12 Accepted 17ms 10.5 MiB
#13 Accepted 19ms 10.5 MiB
#14 Accepted 21ms 10.5 MiB
#15 Accepted 232ms 17.297 MiB
#16 Accepted 273ms 17.652 MiB
#17 Accepted 298ms 17.75 MiB
#18 Accepted 259ms 17.25 MiB
#19 Accepted 724ms 18.727 MiB
#20 Accepted 738ms 18.723 MiB

信息

递交者
类型
递交
题目
#46 最大和和
语言
C++
递交时间
2018-07-19 20:59:40
评测时间
2018-07-19 20:59:41
评测机
分数
100
总耗时
2764ms
峰值内存
18.727 MiB