[ROIR 2022 Day 2] 幼儿园的新年
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.
题目背景
翻译简化自 ROIR 2022 D2T1。
题目描述
给出三个整数 ,求有多少对 满足 ,, 不为 且能被 整除。
输入格式
本题多测,第一行输入一个整数 ,表示测试数据的组数。
接下来的 行,每行输入一组测试数据 ,由空格隔开。
输出格式
对于每组数据,输出一行一个数字,即符合条件的 数量。
4
4 2 2
4 4 4
6 5 5
8 13 17
1
6
5
30
提示
本题使用捆绑测试。
子任务 | 分值 | 特殊性质 |
---|---|---|
且 | ||
且 | ||
且 | ||
且 | ||
且 | ||
且 | ||
无特殊性质 |
对于 的数据,,,。
1125集训
- Status
- Done
- Rule
- IOI
- Problem
- 5
- Start at
- 2024-11-25 17:30
- End at
- 2024-11-25 21:30
- Duration
- 4 hour(s)
- Host
- Partic.
- 24