結果

問題 No.2415 偶数判定!Nafmoくん
ユーザー u-sho
提出日時 2023-08-12 13:33:25
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 293 bytes
コンパイル時間 1,866 ms
コンパイル使用メモリ 192,472 KB
最終ジャッジ日時 2025-02-16 03:00:56
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 17 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);

    uint64_t A, B;
    cin>>A;
    cin>>B;

    if (A%2) A = 1; else A = 2;
    if (B%2) B = 1; else B = 2;
    if (A*B%2) cout << "Odd\n"; else cout << "Even\n";

    return 0;
}
0