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++,
C++14,
Clojure,
C#,
D,
Erlang,
F#,
Go,
Groovy,
Haskell,
Java,
Java 8,
JavaScript(Rhino),
JavaScript(Node.js),
Julia,
Kotlin,
Lisp,
Lisp (SBCL),
Lua,
Objective-C,
OCaml,
Octave,
Pascal,
Perl,
PHP,
Python,
Python 3,
R(RScript),
Racket,
Ruby,
Rust,
Scala,
Swift,
Visual Basic

Initializing Code Editor...

{"14fe6ff": "/pagelets/problem-author-tester/algorithm/anmol-and-divisors/", "a5d8a2f": "/pagelets/recommended-problems/algorithm/anmol-and-divisors/", "392d3c0": "/pagelets/show-submission/algorithm/anmol-and-divisors/", "1252ab0": "/pagelets/suggested-problems/algorithm/anmol-and-divisors/", "30a133a": "/pagelets/problems-hint/algorithm/anmol-and-divisors/"}

realtime.hackerearth.com

80

e9e554fa1aba4febad46b0dc513102e9d5fa9b1b

58a29e5cae2309f04b28

/realtime/pusher/auth/