No.2415 Even Check! Nafmo-kun
レベル :
/ AI推定難易度 : 109
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 268
作問者 :
Nafmo2
/ テスター :
LaFolia13
hikikomori
sepa38
Seed57_cash
Udon
ryota2357
タグ : / 解いたユーザー数 268
作問者 :
LaFolia13
hikikomori
sepa38
Seed57_cash
問題文最終更新日: 2023-08-12 12:04:26
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
MMA Contest 016
(順位表)
の他の問題:
Problem Statement
Is $A \times B$ even?
Print Even if it is even, and Odd if it is odd.
Here, $A$ and $B$ are given in base $2$.
Constraints
- $1 \leq A, B \leq 2^{64}-1$
- $A$ and $B$ are given in base $2$.
Input
$A$ $B$
Output
Print Even or Odd.
Print a newline at the end.
Sample
Sample 1
Input
1 10
Output
Even
Since $A=1_{(2)}=1 ,\ B=10_{(2)}=2$,
we have $A \times B=2$, which is even.
Sample 2
Input
1 11
Output
Odd
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。