АВТ
Language: Russian
English

Remote Training on Programming

Problems Online status Contests
News FAQ E-learning
For authors:
Register  ||  Login
 
Hello, Guest! Please login or register.

245. Divisors

Time Limit: 1.5 seconds
Memory Limit:65536KB
Points:100
View Problem Statistics Submit Problem added Undefined

Задано натуральное число N. Для каждого из чисел от 1 до N требуется найти количество его делителей.

Input

число N от 1 до 1 млн

Output

N чисел через пробел - количества делителей каждого из чисел от 1 до N

Sample

InputOutput
91 2 2 3 2 4 2 4 3

View Problem Statistics Submit Problem discussion Author/source:
Educational Courses / Algorithms and Data Structures / Data Structures /
1950. Count of Recent Calls 245. 1975. Flat 558. Hottabich and Garland 1981. Last Node
Problems from Contests and Camps / Trainings of Vologda SU / Training 21.10.2010 /
896. B - Megaspiral 245. 209. D - Calculator 179. E - Great Triangle Area
time generating 0.188 sec.
© Copyright VSU, AVT, Nosov D.A., Andrianov I.A.