数对
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.
数对
题目描述
给定 个正整数 ,请你求出有多少个数对 满足 ,, 且 是 的倍数。
输入格式
第一行,一个整数 ,表示数字个数。
第二行, 个整数,表示 。
输出格式
输出一行,一个整数,表示答案。
输入输出样例 #1
输入 #1
6
16 11 6 1 9 11
输出 #1
7
说明/提示
对于 的数据,。
对于 的数据,。
对于 的数据,,。
寒假集训线上测试1-提高组
- Status
- Done
- Rule
- OI
- Problem
- 3
- Start at
- 2026-2-7 19:00
- End at
- 2026-2-7 21:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 15