結果
問題 | No.1113 二つの整数 / Two Integers |
ユーザー |
![]() |
提出日時 | 2020-07-19 22:00:12 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 1,000 ms |
コード長 | 344 bytes |
コンパイル時間 | 205 ms |
コンパイル使用メモリ | 82,428 KB |
実行使用メモリ | 53,992 KB |
最終ジャッジ日時 | 2024-12-17 15:06:43 |
合計ジャッジ時間 | 1,705 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
import sysinput=sys.stdin.readlinedef I(): return int(input())def MI(): return map(int, input().split())def LI(): return list(map(int, input().split()))def main():from math import gcdmod=10**9+7A,B=MI()g=gcd(A,B)a=int(g**0.5)if a*a==g:print("Odd")else:print("Even")main()