/ Vijos /

记录详情

Time Exceeded

/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:250: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 Time Exceeded ≥3004ms ≥324.0 KiB
#2 Time Exceeded ≥3005ms ≥376.0 KiB
#3 Time Exceeded ≥3005ms ≥256.0 KiB
#4 Time Exceeded ≥3007ms ≥384.0 KiB
#5 Time Exceeded ≥3001ms ≥380.0 KiB
#6 Time Exceeded ≥3004ms ≥352.0 KiB
#7 Time Exceeded ≥3005ms ≥256.0 KiB
#8 Time Exceeded ≥3004ms ≥196.0 KiB
#9 Time Exceeded ≥3007ms ≥376.0 KiB
#10 Time Exceeded ≥3006ms ≥352.0 KiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2017-08-09 18:50:15
评测时间
2017-08-09 18:50:15
评测机
分数
0
总耗时
≥30054ms
峰值内存
≥384.0 KiB