/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:78:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
      if(s[k][kk]==1)
        ^
/in/foo.cc:81:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
      if(s[k][kk]==2)
        ^
/in/foo.cc:84:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
      if(s[k][kk]==3)
        ^
/in/foo.cc:87:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
      if(s[k][kk]==4)
        ^
/in/foo.cc:90:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
      if(s[k][kk]==5)
        ^
/in/foo.cc:99:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(fa==n||fa<=n&&fa+abc>=n) gu[i]=1;
              ~~~~~^~~~~~~~~~~
/in/foo.cc:35:15: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for(int j=y+3;j<len;j++) {
               ^
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 260.0 KiB
#3 Accepted 3ms 260.0 KiB
#4 Accepted 3ms 332.0 KiB
#5 Accepted 3ms 256.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 3ms 324.0 KiB
#9 Accepted 3ms 348.0 KiB
#10 Accepted 2ms 332.0 KiB

信息

递交者
类型
递交
题目
P1106 侦探推理
语言
C++
递交时间
2017-08-21 21:15:08
评测时间
2017-08-21 21:15:08
评测机
分数
100
总耗时
32ms
峰值内存
384.0 KiB