记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:73:68: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
        s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
                                              ~~~~~~~~~~~~~~~~~~~~~~^~~~
/in/foo.c:120:66: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
      s2[s0.data[k+1]]=(s2[s0.data[k]]-'0')|(s2[s0.data[k+1]]-'0')+'0';
                                            ~~~~~~~~~~~~~~~~~~~~~~^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 1.086 MiB

信息

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