Compile Error
/in/foo.cc:3:11: error: 'N' was not declared in this scope
3 | int n,m,a[N],ans;
| ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:35: error: 'a' was not declared in this scope
7 | for(int i=1;i<=n;i++)cin>>a[i];
| ^
/in/foo.cc:13:29: error: 'a' was not declared in this scope
13 | if((a[i]&cur)==cur)cnt++;
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- P3199 按位与
- 语言
- C++
- 递交时间
- 2026-11-16 09:01:47
- 评测时间
- 2026-11-16 09:01:47
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes