记录详情

Runtime Error

/in/foo.cc: In constructor 'Node::Node(int, int, Node*, Node*)':
/in/foo.cc:9:12: warning: 'Node::rc' will be initialized after [-Wreorder]
  Node *lc,*rc;
            ^~
/in/foo.cc:8:15: warning:   'int Node::rev' [-Wreorder]
  int size,val,rev,addv;
               ^~~
/in/foo.cc:10:2: warning:   when initialized here [-Wreorder]
  Node(int s,int v,Node *a,Node *b):size(s),val(v),lc(a),rc(b),rev(0),addv(0){}
  ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:64:28: warning: iteration 400005 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i=0;i<=N;i++)st[i]=&t[i];
                       ~~~~~^~~~~~
/in/foo.cc:64:15: note: within this loop
  for(int i=0;i<=N;i++)st[i]=&t[i];
               ^
# 状态 耗时 内存占用
#1 Accepted 5ms 4.125 MiB
#2 Accepted 3ms 5.312 MiB
#3 Accepted 4ms 5.25 MiB
#4 Accepted 6ms 5.125 MiB
#5 Accepted 21ms 7.609 MiB
#6 Runtime Error 11ms 15.5 MiB

信息

递交者
类型
递交
题目
splay裸题
语言
C++
递交时间
2017-06-11 15:28:09
评测时间
2017-06-11 15:28:09
评测机
分数
50
总耗时
53ms
峰值内存
15.5 MiB