結果
| 問題 |
No.2415 偶数判定!Nafmoくん
|
| ユーザー |
|
| 提出日時 | 2023-08-12 17:38:11 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 648 bytes |
| コンパイル時間 | 2,103 ms |
| コンパイル使用メモリ | 193,672 KB |
| 最終ジャッジ日時 | 2025-02-16 07:24:25 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 RE * 17 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template<class T>
using V = std::vector<T>;
#define REP(i, n) for (ll i = (ll)0; i < (ll)(n); i++)
#define REPS(i, s, n) for (ll i = (ll)(s); i < (ll)(n); i++)
#define RREP(i, n) for (ll i = (ll)(n); i > (ll)0; i--)
#define RREPS(i, s, n) for (ll i = (ll)(n); i > (ll)(s); i--)
#define ALL(c) std::begin((c)), std::end((c))
struct io {
io() { cin.tie(0)->sync_with_stdio(0); }
} caller;
int main() {
string a, b;
cin >> a >> b;
ll a10 = stoll(a, nullptr, 2), b10 = stoll(b, nullptr, 2);
cout << (a10 % 2 && b10 % 2 ? "Odd" : "Even") << endl;
return 0;
}