Accepted

foo.cc: In function 'int main()':
foo.cc:17:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   17 |                 if(s[i]==">="&&c=='Y'||s[i]=="<"&&c=='N')
      |                    ~~~~~~~~~~^~~~~~~~
foo.cc:21:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   21 |                 if(s[i]==">"&&c=='Y'||s[i]=="<="&&c=='N')
      |                    ~~~~~~~~~^~~~~~~~
foo.cc:25:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   25 |                 if(s[i]==">"&&c=='N'||s[i]=="<="&&c=='Y')
      |                    ~~~~~~~~~^~~~~~~~
foo.cc:29:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   29 |                 if(s[i]==">="&&c=='N'||s[i]=="<"&&c=='Y')
      |                    ~~~~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 668.0 KiB
#2 Accepted 7ms 668.0 KiB
#3 Accepted 4ms 668.0 KiB
#4 Accepted 4ms 668.0 KiB

信息

递交者
类型
递交
题目
P2455 猜数字
比赛
2023CSP热身3
语言
C++
递交时间
2023-10-03 20:37:29
评测时间
2023-10-03 20:37:29
评测机
分数
100
总耗时
21ms
峰值内存
668.0 KiB