/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:15: warning: unused variable 'object' [-Wunused-variable]
   char sayer, object;
               ^~~~~~
/in/foo.cc:67:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < words.size(); i++) {
                    ~~^~~~~~~~~~~~~~
/in/foo.cc:71:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:72:25: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.sayer] == 1) goto next;
                         ^
/in/foo.cc:73:21: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.sayer] = 0;
                     ^
/in/foo.cc:75:25: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.sayer] == 0) goto next;
                         ^
/in/foo.cc:76:21: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.sayer] = 1;
                     ^
/in/foo.cc:80:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:81:25: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.sayer] == 0) goto next;
                         ^
/in/foo.cc:82:21: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.sayer] = 1;
                     ^
/in/foo.cc:84:25: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.sayer] == 1) goto next;
                         ^
/in/foo.cc:85:21: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.sayer] = 0;
                     ^
/in/foo.cc:89:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:90:26: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.object] == 1) goto next;
                          ^
/in/foo.cc:91:22: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.object] = 0;
                      ^
/in/foo.cc:93:26: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.object] == 0) goto next;
                          ^
/in/foo.cc:94:22: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.object] = 1;
                      ^
/in/foo.cc:98:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:99:26: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.object] == 0) goto next;
                          ^
/in/foo.cc:100:22: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.object] = 1;
                      ^
/in/foo.cc:102:26: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.object] == 1) goto next;
                          ^
/in/foo.cc:103:22: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.object] = 0;
                      ^
/in/foo.cc:107:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:108:23: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (day[w.object] == 1) goto next;
                       ^
/in/foo.cc:109:19: warning: array subscript has type 'char' [-Wchar-subscripts]
       day[w.object] = 0;
                   ^
/in/foo.cc:111:23: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (day[w.object] == 0) goto next;
                       ^
/in/foo.cc:112:19: warning: array subscript has type 'char' [-Wchar-subscripts]
       day[w.object] = 1;
                   ^
# 状态 耗时 内存占用
#1 Accepted 1ms 344.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 324.0 KiB
#4 Wrong Answer 1ms 404.0 KiB
#5 Accepted 1ms 324.0 KiB
#6 Wrong Answer 1ms 336.0 KiB
#7 Wrong Answer 1ms 380.0 KiB
#8 Wrong Answer 1ms 356.0 KiB
#9 Accepted 1ms 324.0 KiB
#10 Wrong Answer 1ms 336.0 KiB

信息

递交者
类型
递交
题目
P1106 侦探推理
语言
C++
递交时间
2024-10-26 12:48:36
评测时间
2024-10-26 12:48:36
评测机
分数
50
总耗时
16ms
峰值内存
404.0 KiB