foo.cc: In function 'void grammerAnalysis(std::__cxx11::string)':
foo.cc:45:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < talk.length(); i++)
~~^~~~~~~~~~~~~~~
foo.cc:74:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = talk_start; i <= talk.length(); i++)
~~^~~~~~~~~~~~~~~~
foo.cc:119:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < content.length(); i++)
~~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'void analyzer()':
foo.cc:187:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int tki = 0; tki < cons.size(); tki++)
~~~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:363:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(ch==10)ch=getchar();getchar();
^~~~~
foo.cc:363:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
while(ch==10)ch=getchar();getchar();
^~~~~~~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-06-22T13:37:34.517Z","handle":"2020-06-22T13:37:34.517Z","done":"2020-06-22T13:37:36.110Z"}