/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]
}
^