No.1616 Joke
問題文最終更新日: 2026-04-28 14:20:02
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
問題文一行コンテスト
(順位表)
の他の問題:
Problem Statement
Let $A$ be the sum of the positive divisors of $N$, and let $B$ be the sum of the reciprocals of its positive divisors. Find $\frac{A}{B}$.
Added at 21:39: Corrected "divisors" to "positive divisors".
Input
$N$
- $N$ is an integer.
- $1\leq N\leq 100$
Output
Print the answer on one line.
Print it as an integer. It can be proved that the answer is always an integer.
Sample
Sample 1
Input
1
Output
1
We have $A=B=1$.
Sample 2
Input
32
Output
32
We have $A=63,\ B=\frac{63}{32}$.
Sample 3
Input
84
Output
84
We have $A=224,\ B=\frac{224}{84}$.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
だれ
nok0