/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void grammerAnalysis(std::__cxx11::string)':
/in/foo.cc:45:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < talk.length(); i++)
                     ~~^~~~~~~~~~~~~~~
/in/foo.cc:74:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = talk_start; i <= talk.length(); i++)
                              ~~^~~~~~~~~~~~~~~~
/in/foo.cc:119:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 0; i < content.length(); i++)
                             ~~^~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void analyzer()':
/in/foo.cc:187:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int tki = 0; tki < cons.size(); tki++)
                               ~~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:363:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(ch==10)ch=getchar();getchar();
     ^~~~~
/in/foo.cc:363:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(ch==10)ch=getchar();getchar();
                               ^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 208.0 KiB

信息

递交者
类型
自测
题目
P1106 侦探推理
语言
C++
递交时间
2020-06-22 21:37:28
评测时间
2020-06-22 21:37:28
评测机
分数
0
总耗时
2ms
峰值内存
208.0 KiB