結果
| 問題 |
No.2415 偶数判定!Nafmoくん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-12 13:35:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 31 ms / 2,000 ms |
| コード長 | 377 bytes |
| コンパイル時間 | 238 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-11-19 15:38:10 |
| 合計ジャッジ時間 | 1,888 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 25 |
ソースコード
import sys
input = sys.stdin.readline
def read():
A = int(input().strip())
B = int(input().strip())
return A, B
def solve(A, B):
if (A * B) % 2 == 0:
return "Even"
else:
return "Odd"
if __name__ == "__main__":
inputs = read()
outputs = solve(*inputs)
if outputs is not None:
print("%s" % str(outputs))