結果

問題 No.1113 二つの整数 / Two Integers
ユーザー tikitaka1201tikitaka1201
提出日時 2020-07-20 21:24:13
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 189 bytes
コンパイル時間 283 ms
コンパイル使用メモリ 87,024 KB
実行使用メモリ 76,456 KB
最終ジャッジ日時 2023-08-26 01:18:56
合計ジャッジ時間 6,643 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,868 KB
testcase_01 AC 60 ms
71,304 KB
testcase_02 AC 82 ms
76,120 KB
testcase_03 AC 223 ms
75,960 KB
testcase_04 AC 326 ms
75,940 KB
testcase_05 AC 192 ms
75,940 KB
testcase_06 AC 59 ms
71,608 KB
testcase_07 AC 59 ms
71,360 KB
testcase_08 TLE -
testcase_09 TLE -
testcase_10 AC 63 ms
76,296 KB
testcase_11 AC 62 ms
76,348 KB
testcase_12 AC 355 ms
76,220 KB
testcase_13 AC 63 ms
76,248 KB
testcase_14 AC 79 ms
76,344 KB
testcase_15 AC 383 ms
76,112 KB
testcase_16 AC 64 ms
76,060 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,input().split())
import math

x=math.gcd(a,b)

root=int(x**0.5//1)

for i in range(min(1,root-3), root+3):
    if pow(i,2)==x:
        print('Odd')
        exit()

print('Even')
0