绝世好题
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
给定一个长度为 的数列 ,求 的子序列 的最长长度 ,满足 ,其中 , 表示位运算取与。
输入格式
输入文件共 2 行。 第一行包括一个整数 。 第二行包括 个整数,第 个整数表示 。
输出格式
输出文件共一行。 包括一个整数,表示子序列 的最长长度。
3
1 2 3
2
提示
对于100%的数据,,。
9月8日居家练习
- Status
- Done
- Rule
- IOI
- Problem
- 4
- Start at
- 2023-9-8 9:00
- End at
- 2023-9-8 13:00
- Duration
- 4 hour(s)
- Host
- Partic.
- 17