結果
問題 | No.1113 二つの整数 / Two Integers |
ユーザー |
|
提出日時 | 2020-07-24 11:30:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 191 bytes |
コンパイル時間 | 85 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-06-24 22:06:36 |
合計ジャッジ時間 | 1,222 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 15 |
ソースコード
import math def square(a): r=round(math.sqrt(a)) return r*r==a a,b=map(int,input().split()) g=math.gcd(a,b) if not(g>1 and not(square(g))): print("Even") else: print("Odd")