/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while (c[j]==0&&j<=N) 
    ^~~~~
/in/foo.cc:25:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
   j++;k=0;
       ^
/in/foo.cc:32:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for (i=0;i<k;i++)
    ^~~
/in/foo.cc:34:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
      t++;
      ^
/in/foo.cc:6:18: warning: unused variable 'l2' [-Wunused-variable]
 {int n,i,j,jw,l1,l2,a[N+1]={0},b[N+1]={0},c[N+1]={0},flag=1,t=0,k;
                  ^~
/in/foo.cc:7:19: warning: unused variable 's2' [-Wunused-variable]
  char s1[N+1]={0},s2[N+1]={0};
                   ^~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 700.0 KiB
#2 Wrong Answer 2ms 612.0 KiB
#3 Wrong Answer 1ms 212.0 KiB
#4 Wrong Answer 2ms 216.0 KiB

信息

递交者
类型
递交
题目
P1304 回文数
语言
C++
递交时间
2019-05-17 09:44:42
评测时间
2019-05-17 09:44:42
评测机
分数
0
总耗时
8ms
峰值内存
700.0 KiB