問題一覧 > 通常問題

No.1616 Joke

レベル : / AI推定難易度 : 115 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 354
作問者 : だれ / テスター : nok0 yuto1115
お気に入りにしたユーザー ProblemId : 6711 / 自分の提出
問題文最終更新日: 2026-04-28 14:20:02
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もしくは右上の雲マークをクリックしてアカウントを作成してください。