/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'long long int build(long long int, long long int)':
/in/foo.cc:61:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     long long mid=le+ri>>1;
                   ~~^~~
/in/foo.cc: In function 'void zig(long long int)':
/in/foo.cc:86:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (f2)
        ^
/in/foo.cc: In function 'void zag(long long int)':
/in/foo.cc:96:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (f2)
        ^
/in/foo.cc: In function 'void splay(long long int)':
/in/foo.cc:119:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (f1)
        ^
/in/foo.cc: In function 'void calc(long long int, long long int)':
/in/foo.cc:177:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d\n", sum[l[y]]);
                             ^
/in/foo.cc: In function 'void print(long long int)':
/in/foo.cc:185:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d ", a[t]);
                       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:241:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
             printf("%d\n", f[root][2]);
                                      ^
# 状态 耗时 内存占用
#1 Accepted 5ms 18.336 MiB
#2 Accepted 7ms 18.25 MiB
#3 Accepted 153ms 171.266 MiB
#4 Wrong Answer 39ms 29.246 MiB
#5 Wrong Answer 93ms 58.461 MiB
#6 Wrong Answer 155ms 113.27 MiB
#7 Wrong Answer 275ms 254.23 MiB
#8 Accepted 319ms 223.512 MiB
#9 Wrong Answer 234ms 153.672 MiB
#10 Wrong Answer 241ms 173.324 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2017-08-09 14:50:22
评测时间
2017-08-09 14:50:22
评测机
分数
40
总耗时
1526ms
峰值内存
254.23 MiB