Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:11: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
   10 |   if(!s[i]==c)cout<<s[i];
      |           ^~
foo.cc:10:6: note: add parentheses around left hand side expression to silence this warning
   10 |   if(!s[i]==c)cout<<s[i];
      |      ^~~~~
      |      (    )
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read ***AB***C******A..., expect ABC. 4ms 384.0 KiB
#2 Wrong Answer Read ***A***B***C***A..., expect ABC. 4ms 380.0 KiB

信息

递交者
类型
递交
题目
P1105 删除指定字符
语言
C++
递交时间
2022-07-18 12:16:14
评测时间
2022-07-18 12:16:14
评测机
分数
0
总耗时
8ms
峰值内存
384.0 KiB