记录详情

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: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 Accepted 1ms 376.0 KiB
#2 Accepted 3ms 372.0 KiB
#3 Accepted 1ms 320.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 1ms 368.0 KiB
#7 Accepted 2ms 376.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Accepted 1ms 344.0 KiB
#10 Accepted 3ms 352.0 KiB
#11 Accepted 2ms 336.0 KiB
#12 Accepted 3ms 368.0 KiB
#13 Accepted 3ms 256.0 KiB
#14 Accepted 1ms 208.0 KiB
#15 Wrong Answer 1ms 340.0 KiB
#16 Accepted 1ms 332.0 KiB
#17 Accepted 2ms 352.0 KiB
#18 Wrong Answer 1ms 256.0 KiB
#19 Wrong Answer 1ms 324.0 KiB
#20 Wrong Answer 1ms 380.0 KiB

信息

递交者
类型
递交
题目
开心十三张
语言
C++
递交时间
2017-08-31 08:53:21
评测时间
2017-08-31 08:53:21
评测机
分数
80
总耗时
43ms
峰值内存
380.0 KiB