CF2044A Easy Problem

题目描述

给定一个整数 $n$ 求有多少对二元组 $(a,b)$ 满足 $ a = n - b$

输入格式

第一行输入一个整数 $t$ $(1 \le t \le 99)$,表示数据组数 接下来第二行到第 $(t+1)$ 行,每行一个整数 $n$ $(1 \le n \le 100)$。

输出格式

共 $t$ 行,每行一个整数表示有多少个符合条件的二元组

说明/提示

In the first test case, the only ordered pair that works is $ (a,b)=(1,1) $ . In the second test case, the three ordered pairs of $ (a,b) $ that work are $ (3,1), (2,2), (1,3) $ .