結果
問題 |
No.2415 偶数判定!Nafmoくん
|
ユーザー |
![]() |
提出日時 | 2024-03-31 13:13:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 335 bytes |
コンパイル時間 | 1,637 ms |
コンパイル使用メモリ | 166,404 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-09-30 17:55:41 |
合計ジャッジ時間 | 3,811 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 RE * 17 |
ソースコード
/* */ #include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for(int i = 0; i < (int)(n); i++) int main(){ string a, b; cin >> a; cin >> b; ll x = stoll(a, nullptr, 2) * stoll(b, nullptr, 2); if(x%2 == 0){ cout << "Even" << endl; }else{ cout << "Odd" << endl; } return 0; }