Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
C#. Basics
Subroutines: procedures and functions - 1
Module:
Subroutines: procedures and functions - 1
Problem
10
/11
All divisors of a number
Problem
Write a procedure that prints all the divisors of
N
into one line separated by a space.
Example.
Input
Output
10
1 2 5 10
1000
ms
256 Mb
Rules for program design and list of errors in automatic problem checking
Teacher commentary