/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void build(int&, int, int)':
/in/foo.cc:30:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1; o = id[mid];
            ~~^~~
/in/foo.cc: In function 'void splay(int)':
/in/foo.cc:49:16: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
    if(ch[0][y] == u ^ ch[0][z] == y) rotate(u);
       ~~~~~~~~~^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:111:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(rk < 1 || rk > n) continue; rk = Find(getrt(), rk);
    ^~
/in/foo.cc:111:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(rk < 1 || rk > n) continue; rk = Find(getrt(), rk);
                                   ^~
/in/foo.cc:96:6: warning: unused variable 'tq' [-Wunused-variable]
  int tq = q;
      ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 524.0 KiB
#2 Accepted 2ms 876.0 KiB
#3 Accepted 3ms 420.0 KiB
#4 Accepted 31ms 1.051 MiB
#5 Accepted 137ms 1.293 MiB
#6 Accepted 134ms 1.371 MiB
#7 Accepted 87ms 1.379 MiB
#8 Accepted 106ms 1.855 MiB
#9 Accepted 101ms 1.898 MiB
#10 Time Exceeded ≥1003ms ≥368.0 KiB

信息

递交者
类型
递交
题目
P2665 小T的书架
语言
C++
递交时间
2023-05-13 07:45:50
评测时间
2023-05-13 07:45:50
评测机
分数
90
总耗时
≥1611ms
峰值内存
≥1.898 MiB