记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:8:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    8 |         if(ch='+')
      |            ~~^~~~
foo.cc:10:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   10 |         if(ch='-')
      |            ~~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 3-1, expect 3. 2ms 536.0 KiB

信息

递交者
类型
自测
题目
3-5 计算器
语言
C++
递交时间
2024-08-14 20:28:01
评测时间
2024-08-14 20:28:01
评测机
分数
0
总耗时
2ms
峰值内存
536.0 KiB