记录详情

Accepted

/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:234: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:250: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:210:25: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
    cin>>pai[i][j].s;int num;
                         ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 4ms 256.0 KiB
#3 Accepted 2ms 348.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 3ms 256.0 KiB
#6 Accepted 1ms 260.0 KiB
#7 Accepted 2ms 284.0 KiB
#8 Accepted 2ms 408.0 KiB
#9 Accepted 1ms 332.0 KiB
#10 Accepted 3ms 372.0 KiB
#11 Accepted 3ms 256.0 KiB
#12 Accepted 1ms 352.0 KiB
#13 Accepted 3ms 256.0 KiB
#14 Accepted 3ms 348.0 KiB
#15 Accepted 1ms 256.0 KiB
#16 Accepted 3ms 360.0 KiB
#17 Accepted 1ms 376.0 KiB
#18 Accepted 2ms 328.0 KiB
#19 Accepted 3ms 256.0 KiB
#20 Accepted 3ms 368.0 KiB

信息

递交者
类型
递交
题目
开心十三张
语言
C++
递交时间
2017-08-29 11:49:50
评测时间
2017-08-31 08:43:25
评测机
分数
100
总耗时
55ms
峰值内存
408.0 KiB