/ SUOI /

记录详情

Wrong Answer

/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;
             ~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:79:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'lint {aka long long int}' [-Wformat=]
         if(!x) printf("%d\n",query(rt,1,n));
                                           ^
# 状态 耗时 内存占用
#1 Wrong Answer 16ms 10.379 MiB
#2 Wrong Answer 14ms 12.453 MiB
#3 Wrong Answer 15ms 10.375 MiB
#4 Wrong Answer 15ms 10.375 MiB
#5 Wrong Answer 16ms 10.375 MiB
#6 Wrong Answer 15ms 12.477 MiB
#7 Wrong Answer 15ms 10.492 MiB
#8 Wrong Answer 15ms 10.465 MiB
#9 Wrong Answer 18ms 10.484 MiB
#10 Wrong Answer 15ms 10.484 MiB
#11 Wrong Answer 22ms 10.5 MiB
#12 Wrong Answer 24ms 10.598 MiB
#13 Wrong Answer 22ms 10.602 MiB
#14 Wrong Answer 24ms 10.539 MiB
#15 Wrong Answer 259ms 17.914 MiB
#16 Wrong Answer 268ms 17.875 MiB
#17 Wrong Answer 266ms 17.375 MiB
#18 Wrong Answer 224ms 18.492 MiB
#19 Wrong Answer 962ms 18.688 MiB
#20 Wrong Answer 935ms 18.66 MiB

信息

递交者
类型
递交
题目
#46 最大和和
语言
C++
递交时间
2018-07-19 20:33:54
评测时间
2018-07-19 20:33:54
评测机
分数
0
总耗时
3168ms
峰值内存
18.688 MiB