Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:16: error: expected primary-expression before ';' token
    7 |         cin>>n>;
      |                ^
/in/foo.cc:16:38: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   16 |                         if (a[i]&a[j]>hmax)
      |                                  ~~~~^~~~~

信息

递交者
类型
递交
题目
P2562 烹饪问题5级T2 2023.12
语言
C++
递交时间
2026-11-16 09:03:08
评测时间
2026-11-16 09:03:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes