結果
| 問題 | No.1113 二つの整数 / Two Integers |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-04-26 21:56:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 36 ms / 1,000 ms |
| コード長 | 155 bytes |
| コンパイル時間 | 198 ms |
| コンパイル使用メモリ | 82,332 KB |
| 実行使用メモリ | 53,624 KB |
| 最終ジャッジ日時 | 2024-11-16 05:42:56 |
| 合計ジャッジ時間 | 1,411 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 |
ソースコード
import math
a, b = map(int, input().split())
g = math.gcd(a, b)
x = int(math.sqrt(g))
if g % x == 0 and x == g // x:
print("Odd")
else:
print("Even")