Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
Pascal. Basics
Subroutines: procedures and functions - 2
Module:
Subroutines: procedures and functions - 2
Problem
4
/10
Number of divisors of a number
Problem
Write a function that returns the number of divisors of a natural number
Examples
#
Input
Output
1
6
4
1000
ms
256 Mb
Rules for program design and list of errors in automatic problem checking
Teacher commentary