結果

問題 No.1113 二つの整数 / Two Integers
ユーザー titiatitia
提出日時 2020-07-17 21:29:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 177 bytes
コンパイル時間 210 ms
コンパイル使用メモリ 10,600 KB
実行使用メモリ 8,184 KB
最終ジャッジ日時 2023-08-19 23:42:22
合計ジャッジ時間 1,632 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
8,000 KB
testcase_01 AC 31 ms
7,992 KB
testcase_02 AC 39 ms
8,060 KB
testcase_03 AC 37 ms
7,992 KB
testcase_04 WA -
testcase_05 AC 37 ms
8,148 KB
testcase_06 AC 29 ms
8,184 KB
testcase_07 AC 30 ms
7,992 KB
testcase_08 AC 29 ms
8,140 KB
testcase_09 WA -
testcase_10 AC 32 ms
8,080 KB
testcase_11 AC 29 ms
7,992 KB
testcase_12 WA -
testcase_13 AC 29 ms
7,988 KB
testcase_14 AC 37 ms
8,080 KB
testcase_15 AC 38 ms
7,992 KB
testcase_16 AC 33 ms
8,084 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())
from math import gcd
X=gcd(A,B)

for i in range(2,10**5):
    while X%(i**2)==0:
        X//=i**2

if X==1:
    print("Odd")
else:
    print("Even")
0