记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:29:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(b[a[m]%10]=b[a[n]%10])
     ^
/in/foo.c:29:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  if(b[a[m]%10]=b[a[n]%10])
    ^
/in/foo.c:29:19: warning: 'n' is used uninitialized in this function [-Wuninitialized]
  if(b[a[m]%10]=b[a[n]%10])
                  ~^~~
/in/foo.c:29:8: warning: 'm' is used uninitialized in this function [-Wuninitialized]
  if(b[a[m]%10]=b[a[n]%10])
       ~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 0ms 200.0 KiB

信息

递交者
类型
自测
题目
3-1 整数中的数字
语言
C
递交时间
2018-12-08 08:54:36
评测时间
2018-12-08 08:54:36
评测机
分数
0
总耗时
0ms
峰值内存
200.0 KiB