/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int z(int, int)':
/in/foo.cc:15:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<strlen(s[num]);i++)
               ~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:38:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[20]' [-Wformat=]
   scanf("%s",&t);
                ^
/in/foo.cc:40:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[20]' [-Wformat=]
   scanf("%s",&t);
                ^
/in/foo.cc:54:17: warning: self-comparison always evaluates to true [-Wtautological-compare]
    if (h&ch[j].a>=ch[j].a&&dp[h][i][1]&ch[j].b==0)
          ~~~~~~~^~~~~~~~~
/in/foo.cc:54:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
/in/foo.cc:54:47: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if (h&ch[j].a>=ch[j].a&&dp[h][i][1]&ch[j].b==0)
                                        ~~~~~~~^~~
/in/foo.cc:63:18: warning: 'R1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   now=dp[R1][i][1];dp[dp[R1][i][1]][i+1][0]=R; 
       ~~~~~~~~~~~^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 376.0 KiB
#2 Wrong Answer 2ms 348.0 KiB
#3 Wrong Answer 6ms 4.25 MiB
#4 Wrong Answer 3ms 2.203 MiB
#5 Wrong Answer 4ms 384.0 KiB
#6 Wrong Answer 8ms 6.25 MiB
#7 Wrong Answer 24ms 16.25 MiB
#8 Wrong Answer 101ms 42.344 MiB
#9 Wrong Answer 203ms 38.359 MiB
#10 Wrong Answer 7ms 2.336 MiB

信息

递交者
类型
递交
题目
P1483 能量连接
语言
C++
递交时间
2017-07-15 19:34:18
评测时间
2017-07-15 19:34:18
评测机
分数
0
总耗时
366ms
峰值内存
42.344 MiB