记录详情

Accepted

foo.c: In function 'main':
foo.c:73:117: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
   73 |                                                         s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
      |                                                                                               ~~~~~~~~~~~~~~~~~~~~~~^~~~
foo.c:120:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
  120 |                                         s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
      |                                                                               ~~~~~~~~~~~~~~~~~~~~~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 1.027 MiB

信息

递交者
类型
自测
题目
P1539 Problem 5D. 表达式求值
语言
C
递交时间
2023-11-07 15:20:44
评测时间
2023-11-07 15:20:44
评测机
分数
10
总耗时
6ms
峰值内存
1.027 MiB