Problems
easyPrint All Divisors
2 Koda Coins

Print All Divisors

easy2s limit💾 64 MB

Description

Given an integer N, print all divisors of N in ascending order, space-separated.


Input Format

  • A single integer N.

  • Output Format

  • Print the divisors space-separated.

  • Constraints

  • 1 <= N <= 10^5