結果
| 問題 | No.2425 Power Range GCD |
| コンテスト | |
| ユーザー |
Cecil
|
| 提出日時 | 2023-08-18 21:09:39 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 239 bytes |
| 記録 | |
| コンパイル時間 | 520 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 13,568 KB |
| 最終ジャッジ日時 | 2026-10-01 06:39:47 |
| 合計ジャッジ時間 | 3,747 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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