/ 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:66:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (i==n-1) printf("%d\n",max(R,0));return 0;
   ^~
/in/foo.cc:66:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (i==n-1) printf("%d\n",max(R,0));return 0;
                                       ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 53ms 168.23 MiB
#2 Wrong Answer 54ms 168.191 MiB
#3 Wrong Answer 52ms 168.25 MiB
#4 Wrong Answer 52ms 168.25 MiB
#5 Wrong Answer 52ms 168.25 MiB
#6 Wrong Answer 63ms 168.359 MiB
#7 Wrong Answer 80ms 168.25 MiB
#8 Wrong Answer 53ms 168.32 MiB
#9 Wrong Answer 42ms 168.25 MiB
#10 Wrong Answer 41ms 168.363 MiB

信息

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