/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:15: warning: unused variable 'object' [-Wunused-variable]
   char sayer, object;
               ^~~~~~
/in/foo.cc:70:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < words.size(); i++) {
                    ~~^~~~~~~~~~~~~~
/in/foo.cc:74:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:75:25: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.sayer] == 1) goto next;
                         ^
/in/foo.cc:76:21: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.sayer] = 0;
                     ^
/in/foo.cc:78:25: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.sayer] == 0) goto next;
                         ^
/in/foo.cc:79:21: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.sayer] = 1;
                     ^
/in/foo.cc:83:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:84:25: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.sayer] == 0) goto next;
                         ^
/in/foo.cc:85:21: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.sayer] = 1;
                     ^
/in/foo.cc:87:25: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.sayer] == 1) goto next;
                         ^
/in/foo.cc:88:21: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.sayer] = 0;
                     ^
/in/foo.cc:92:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:93:26: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.object] == 1) goto next;
                          ^
/in/foo.cc:94:22: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.object] = 0;
                      ^
/in/foo.cc:96:26: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.object] == 0) goto next;
                          ^
/in/foo.cc:97:22: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.object] = 1;
                      ^
/in/foo.cc:101:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:102:26: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.object] == 0) goto next;
                          ^
/in/foo.cc:103:22: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.object] = 1;
                      ^
/in/foo.cc:105:26: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (guilty[w.object] == 1) goto next;
                          ^
/in/foo.cc:106:22: warning: array subscript has type 'char' [-Wchar-subscripts]
       guilty[w.object] = 0;
                      ^
/in/foo.cc:110:21: warning: array subscript has type 'char' [-Wchar-subscripts]
      if (lie[w.sayer]) {
                     ^
/in/foo.cc:111:23: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (day[w.object] == 1) goto next;
                       ^
/in/foo.cc:112:19: warning: array subscript has type 'char' [-Wchar-subscripts]
       day[w.object] = 0;
                   ^
/in/foo.cc:114:23: warning: array subscript has type 'char' [-Wchar-subscripts]
       if (day[w.object] == 0) goto next;
                       ^
/in/foo.cc:115:19: warning: array subscript has type 'char' [-Wchar-subscripts]
       day[w.object] = 1;
                   ^
# 状态 耗时 内存占用
#1 Accepted 1ms 364.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Accepted 1ms 332.0 KiB
#7 Accepted 1ms 324.0 KiB
#8 Accepted 1ms 376.0 KiB
#9 Accepted 1ms 324.0 KiB
#10 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1106 侦探推理
语言
C++
递交时间
2024-10-26 13:47:19
评测时间
2024-10-26 13:47:19
评测机
分数
100
总耗时
14ms
峰值内存
376.0 KiB