SOLVE

LATER

Anmol And Divisors

Problem

Editorial

Analytics

Anmol is very found of divisors . He has recently got a list of numbers from Satyam. So he want to find all the divisors of those numbers and print them in ascending order. Please help Anmol.

**Note->**Anmol doesn't consider *1* and *that number itself* as divisor of the number

**Input**

First line contains a number *t* number of test cases.

*t* lines follows each containing a number *ai*.

**Output**

Print *t* lines divisor of *ith* number in *ith* line.

**Constraints**

$$ t \le 1000 $$

$$ ai \le 100000000000000 $$

Time Limit:
1.0 sec(s)
for each input file.

Memory Limit:
256 MB

Source Limit:
1024 KB

Marking Scheme:
Marks are awarded when all the testcases pass.

Allowed Languages:
C,
C++,
Clojure,
C#,
D,
Erlang,
F#,
Go,
Groovy,
Haskell,
Java,
Java 8,
JavaScript(Rhino),
JavaScript(Node.js),
Lisp,
Lisp (SBCL),
Lua,
Objective-C,
OCaml,
Octave,
Pascal,
Perl,
PHP,
Python,
Python 3,
R(RScript),
Racket,
Ruby,
Rust,
Scala 2.11.8,
Swift,
Visual Basic

Initializing Code Editor...

{"40952ba": "/pagelets/problems-hint/algorithm/anmol-and-divisors/", "40952cf": "/pagelets/recommended-problems/algorithm/anmol-and-divisors/", "40952a4": "/pagelets/problem-author-tester/algorithm/anmol-and-divisors/", "409526d": "/pagelets/show-submission/algorithm/anmol-and-divisors/", "409528d": "/pagelets/suggested-problems/algorithm/anmol-and-divisors/"}

{}

realtime.hackerearth.com

80

e9e554fa1aba4febad46b0dc513102e9d5fa9b1b

58a29e5cae2309f04b28

/realtime/pusher/auth/