結果
| 問題 |
No.2425 Power Range GCD
|
| コンテスト | |
| ユーザー |
Cecil
|
| 提出日時 | 2023-08-18 21:09:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 239 bytes |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-11-28 04:57:14 |
| 合計ジャッジ時間 | 1,806 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 RE * 30 |
ソースコード
import math
import functools
def my_gcd(*integers):
return functools.reduce(math.gcd, integers)
l, r = map(int, input().split())
num = list()
for i in range(l, r+1):
n = int(math.pow(i,i))
num.append(n)
print(my_gcd(*num))
Cecil