結果
問題 |
No.2415 偶数判定!Nafmoくん
|
ユーザー |
![]() |
提出日時 | 2024-03-31 13:10:03 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 322 bytes |
コンパイル時間 | 1,776 ms |
コンパイル使用メモリ | 167,068 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-30 17:55:28 |
合計ジャッジ時間 | 4,199 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 RE * 20 |
ソースコード
/* */ #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 = stoi(a, 0, 2) * stoll(b, 0, 2); if(x%2 == 0){ cout << "Even" << endl; }else{ cout << "Odd" << endl; } return 0; }