/ Vijos /

记录详情

Wrong Answer

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:333:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     freopen("P1039.in", "r", stdin);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:334:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     freopen("P1039.out", "w", stdout);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-06-22T13:36:36.368Z","handle":"2020-06-22T13:36:36.368Z","done":"2020-06-22T13:36:38.072Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > MIKE \ No newline at end 1ms 256.0 KiB

信息

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