/ 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:247: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 6ms 18.25 MiB
#2 Accepted 8ms 18.25 MiB
#3 Accepted 150ms 170.316 MiB
#4 Wrong Answer 33ms 27.367 MiB
#5 Wrong Answer 96ms 60.121 MiB
#6 Wrong Answer 168ms 113.586 MiB
#7 Wrong Answer 284ms 251.953 MiB
#8 Accepted 309ms 223.766 MiB
#9 Wrong Answer 233ms 153.703 MiB
#10 Wrong Answer 249ms 175.574 MiB

信息

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