F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

Reflect

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 856    Accepted Submission(s): 452


Problem Description
We send a light from one point on a mirror material circle,it reflects $N$ times and return the original point firstly.Your task is calcuate the number of schemes.


 

Input
First line contains a single integer $T (T \leq 10)$ which denotes the number of test cases.

For each test case, there is an positive integer $N (N \leq 10^{6})$.
 

Output
For each case, output the answer.
 

Sample Input
1 4
 

Sample Output
4
 

Source
 

Statistic | Submit | Discuss | Note
Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 07:05:57, Gzip enabled