No.2425 Power Range GCD
レベル :
/ AI推定難易度 : 500
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 224
作問者 :
simasima_71
/ テスター :
0214sh7
noya2
Kak1_n0_tane
👑
potato167
tassei903
ramdos
ponjuice
タグ : / 解いたユーザー数 224
作問者 :
simasima_71
/ テスター :
0214sh7
noya2
Kak1_n0_tane
👑
問題文最終更新日: 2023-08-14 18:12:28
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
traP 作問ハッカソンコンテスト 001
(順位表)
の他の問題:
Problem Statement
Compute $\gcd( L^L , (L+1)^{L+1} , \ldots , R^R )$.
Input
$L\ R$
- $1\leq L < R \leq 2 \times 10^5$
- All input values are integers.
Output
Output the answer.
Sample
Sample 1
Input
1 3
Output
1
$\gcd(1^1,2^2,3^3)=1$.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。