记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(a='A'||'a')
               ^
/in/foo.cc:8:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  else if(a='B'||'b')
                    ^
/in/foo.cc:10:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    else if(a='C'||'c')
                      ^
/in/foo.cc:12:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
          else if(a='D'||'d')
                            ^
/in/foo.cc:14:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else 
  ^~~~
/in/foo.cc:16:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
   return 0;
   ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 372.0 KiB
#2 Wrong Answer 2ms 384.0 KiB
#3 Accepted 2ms 340.0 KiB
#4 Accepted 2ms 348.0 KiB
#5 Wrong Answer 3ms 344.0 KiB
#6 Wrong Answer 3ms 368.0 KiB
#7 Wrong Answer 3ms 360.0 KiB
#8 Wrong Answer 2ms 384.0 KiB
#9 Wrong Answer 2ms 368.0 KiB

信息

递交者
类型
递交
题目
字符的转换
语言
C++
递交时间
2018-07-11 16:44:24
评测时间
2018-07-11 16:44:24
评测机
分数
20
总耗时
23ms
峰值内存
384.0 KiB