/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'long long int build(long long int, long long int)':
/in/foo.cc:63: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:88: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:98: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:121: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:180: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:188: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:248: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 4ms 20.25 MiB
#2 Accepted 11ms 20.305 MiB
#3 Accepted 148ms 189.969 MiB
#4 Accepted 39ms 35.531 MiB
#5 Accepted 118ms 65.375 MiB
#6 Accepted 208ms 130.645 MiB
#7 Accepted 331ms 254.926 MiB
#8 Accepted 321ms 243.504 MiB
#9 Accepted 234ms 166.625 MiB
#10 Accepted 258ms 190.75 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2017-08-09 18:53:01
评测时间
2017-08-09 18:53:01
评测机
分数
100
总耗时
1676ms
峰值内存
254.926 MiB