結果
| 問題 | No.1113 二つの整数 / Two Integers |
| コンテスト | |
| ユーザー |
Chihaya_chan
|
| 提出日時 | 2020-07-26 19:17:07 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 234 bytes |
| 記録 | |
| コンパイル時間 | 439 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 20,884 KB |
| 最終ジャッジ日時 | 2026-03-17 21:11:49 |
| 合計ジャッジ時間 | 5,023 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 15 |
ソースコード
import math
A, B = map(int, input().split())
N = gcd(A, B)
def is_square(N):
bottom = int(math.sqrt(N))
if bottom**2 == N or (bottom+1)**2 == N:
print("Odd")
return
print("Even")
return
is_square(N)
Chihaya_chan