Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   12 |                 if(l==g&&e==s||l==s&&e==g) z=b;
      |                    ~~~~^~~~~~
/in/foo.cc:13:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   13 |                 else if(l==s&&e==b||l==b&&e==s) z=g;
      |                         ~~~~^~~~~~
/in/foo.cc:14:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   14 |                 else if(l==g&&e==b||l==b&&e==g) z=s;
      |                         ~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 504.0 KiB
#2 Accepted 2ms 480.0 KiB
#3 Accepted 2ms 480.0 KiB

信息

递交者
类型
递交
题目
P2594 数字黑洞2级2 2023.9
比赛
2025.3.15中级班练习
语言
C++
递交时间
2025-03-15 15:10:46
评测时间
2025-03-15 15:10:46
评测机
分数
100
总耗时
6ms
峰值内存
504.0 KiB