记录详情

Wrong Answer

/in/foo.cc: In function 'void others(int)':
/in/foo.cc:45:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  {sta[pai[p][i].s[1]]+=zhuan(pai[p][i].s[0]);
                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:200:10: warning: unknown escape sequence: '\i'
  freopen("d:\in.txt","r",stdin);
          ^~~~~~~~~~~
/in/foo.cc:235:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if (status[j][h][0]>status[0][h][0]||status[j][h][0]==status[0][h][0]&&status[j][h][1]>status[0][h][1]) rank++;
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:251:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    else if (status[h][j][0]==8)
            ^
/in/foo.cc: In function 'int zhuan(char)':
/in/foo.cc:22:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int zhuan1(char)':
/in/foo.cc:32:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'void others(int)':
/in/foo.cc:126:44: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
    status[p][dun][0]=5;status[p][dun][1]=(k-1)*4+i;dun--;
                                          ~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:211:25: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
    cin>>pai[i][j].s;int num;
                         ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 384.0 KiB
#2 Wrong Answer 3ms 256.0 KiB
#3 Wrong Answer 1ms 352.0 KiB
#4 Wrong Answer 1ms 384.0 KiB
#5 Wrong Answer 2ms 384.0 KiB
#6 Wrong Answer 3ms 268.0 KiB
#7 Wrong Answer 3ms 376.0 KiB
#8 Wrong Answer 3ms 256.0 KiB
#9 Wrong Answer 2ms 360.0 KiB
#10 Wrong Answer 3ms 376.0 KiB
#11 Wrong Answer 3ms 256.0 KiB
#12 Wrong Answer 1ms 376.0 KiB
#13 Wrong Answer 1ms 364.0 KiB
#14 Wrong Answer 2ms 340.0 KiB
#15 Wrong Answer 1ms 256.0 KiB
#16 Wrong Answer 1ms 328.0 KiB
#17 Wrong Answer 2ms 380.0 KiB
#18 Wrong Answer 3ms 256.0 KiB
#19 Wrong Answer 2ms 376.0 KiB
#20 Wrong Answer 2ms 256.0 KiB

信息

递交者
类型
递交
题目
开心十三张
语言
C++
递交时间
2017-08-29 11:39:44
评测时间
2017-08-29 11:39:44
评测机
分数
0
总耗时
51ms
峰值内存
384.0 KiB