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...

{"bfbdaf7": "/pagelets/show-submission/algorithm/anmol-and-divisors/", "eb93a63": "/pagelets/problem-author-tester/algorithm/anmol-and-divisors/", "678d893": "/pagelets/suggested-problems/algorithm/anmol-and-divisors/", "a4712c0": "/pagelets/problems-hint/algorithm/anmol-and-divisors/", "c4853f4": "/pagelets/recommended-problems/algorithm/anmol-and-divisors/"}

realtime.hackerearth.com

80

e9e554fa1aba4febad46b0dc513102e9d5fa9b1b

58a29e5cae2309f04b28

/realtime/pusher/auth/