/ 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 Runtime Error 4ms 372.0 KiB
#2 Runtime Error 4ms 364.0 KiB
#3 Runtime Error 4ms 368.0 KiB
#4 Runtime Error 4ms 2.375 MiB
#5 Runtime Error 4ms 2.25 MiB
#6 Runtime Error 4ms 384.0 KiB
#7 Runtime Error 4ms 464.0 KiB
#8 Runtime Error 2ms 484.0 KiB
#9 Runtime Error 3ms 500.0 KiB
#10 Runtime Error 3ms 484.0 KiB

信息

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