Код: Выделить всё
#include
#include
int get_triangle_number(int i)
{
int triangle_number = 0;
for (int j=0; j
Подробнее здесь: [url]https://stackoverflow.com/questions/79769452/why-does-this-count-divisors-function-return-0-instead-of-the-divisor-count[/url]
Мобильная версия