#CF2044A. Easy Problem
Easy Problem
题目描述
给定一个整数 求有多少对二元组 满足
输入格式
第一行输入一个整数 ,表示数据组数
接下来第二行到第 行,每行一个整数 。
输出格式
共 行,每行一个整数表示有多少个符合条件的二元组
样例
3
2
4
6
1
3
5
样例说明
In the first test case, the only ordered pair that works is .
In the second test case, the three ordered pairs of that work are .
来源
Codeforces 2044A,英文题名 Easy Problem。