题号:NC200008
时间限制:C/C++/Rust/Pascal 5秒,其他语言10秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld
题目描述
Lady Layton has a problem about math.
She will give you a integer n, please calculate
))
.
输入描述:
The first line contains one integer T(1<=T<=10)— the number of test cases.
The only line of each test case contains one integers n(

) — the integer of she give.
输出描述:
For each test case print the answer modulo
in one line.
备注:
In mathematics, the greatest common divisor (gcd) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For example,
%3D4)
.
In number theory,
)
be called Euler's phi function, it is the number of integers k (1<=k<=n) which
%3D1)
.