记录详情

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 200005 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 2ms 3.625 MiB
#2 Accepted 4ms 3.617 MiB
#3 Accepted 3ms 1.875 MiB
#4 Accepted 5ms 2.98 MiB
#5 Accepted 13ms 3.625 MiB
#6 Runtime Error 7ms 7.945 MiB

信息

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