/ HLer /

记录详情

Runtime Error

/in/foo.cc:4:0: warning: ignoring #pragma GCC Optimize [-Wunknown-pragmas]
 #pragma GCC Optimize("Ofast")
 
/in/foo.cc: In member function 'void Scapegoat_Tree::STree::erase(Scapegoat_Tree::Node*&, int)':
/in/foo.cc:85:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if(p->exist && k == offset) {                
                                ~~^~~~~~~~~
/in/foo.cc:88:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if(k <= offset) 
                        ~~^~~~~~~~~
/in/foo.cc: In member function 'unsigned int Scapegoat_Tree::STree::kth(int)':
/in/foo.cc:139:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if(now->ch[0]->siz + 1 == val && now->exist) 
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:141:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     else if(now->ch[0]->siz >= val) 
                             ~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc: In function 'void write(int)':
/in/foo.cc:194:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(x < 0)
     ^~
/in/foo.cc:196:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  unsigned len = 0, dg[20];
  ^~~~~~~~
/in/foo.cc: In member function 'unsigned int Scapegoat_Tree::STree::kth(int)':
/in/foo.cc:146:13: warning: control reaches end of non-void function [-Wreturn-type]
             }
             ^
# 状态 耗时 内存占用
#1 Memory Exceeded ≥6ms ≥256.0 KiB
#2 Memory Exceeded ≥5ms ≥256.0 KiB
#3 Memory Exceeded ≥4ms ≥256.0 KiB
#4 Runtime Error 5ms 212.0 KiB
#5 Memory Exceeded ≥6ms ≥256.0 KiB
#6 Memory Exceeded ≥7ms ≥256.0 KiB
#7 Memory Exceeded ≥7ms ≥256.0 KiB
#8 Memory Exceeded ≥11ms ≥256.0 KiB
#9 Memory Exceeded ≥6ms ≥256.0 KiB
#10 Memory Exceeded ≥6ms ≥256.0 KiB

信息

递交者
类型
递交
题目
Data Structure You’ve Never Heard Of
语言
C++
递交时间
2018-10-15 01:27:38
评测时间
2018-10-15 01:27:38
评测机
分数
0
总耗时
69ms
峰值内存
256.0 KiB