记录详情

Wrong Answer

/in/foo.c: In function 'huiwen_base2':
/in/foo.c:10:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
      if(a[left]=a[i])
      ^~
/in/foo.c:3:19: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
     int a[32],i=0,temp=0,left=0,t;
                   ^~~~
/in/foo.c: In function 'huiwen_base8':
/in/foo.c:22:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
      if(a[left]=a[i])
      ^~
/in/foo.c:15:22: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
        int a[32],i=0,temp=0,left=0,t;
                      ^~~~
/in/foo.c: In function 'huiwen_base10':
/in/foo.c:27:6: warning: unused variable 'm' [-Wunused-variable]
  int m=0,rn=0,temp;
      ^
/in/foo.c: In function 'main':
/in/foo.c:45:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(m==p||m==q||p==q||m==p&&p==q)
                       ~~~~^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 256.0 KiB
#2 Wrong Answer 0ms 220.0 KiB
#3 Wrong Answer 1ms 208.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Wrong Answer 1ms 216.0 KiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Wrong Answer 1ms 216.0 KiB
#8 Wrong Answer 1ms 216.0 KiB
#9 Wrong Answer 1ms 216.0 KiB
#10 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
递交
题目
(ty 1-1) 多进制回文数
比赛
2019-1-20寒假集训1
语言
C
递交时间
2019-01-20 11:34:19
评测时间
2019-01-20 11:34:19
评测机
分数
10
总耗时
12ms
峰值内存
256.0 KiB