Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:12: error: 'cnt' was not declared in this scope; did you mean 'int'?
   17 |         if(cnt==m) ans=max(ans,maxand);
      |            ^~~
      |            int
/in/foo.cc:17:32: error: 'maxand' was not declared in this scope
   17 |         if(cnt==m) ans=max(ans,maxand);
      |                                ^~~~~~

信息

递交者
类型
递交
题目
P3199 按位与
语言
C++
递交时间
2026-11-16 09:02:10
评测时间
2026-11-16 09:02:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes