結果
| 問題 | No.1432 Not Xor | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-03-19 22:44:13 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 410 bytes | 
| コンパイル時間 | 1,617 ms | 
| コンパイル使用メモリ | 165,236 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-18 23:55:31 | 
| 合計ジャッジ時間 | 2,045 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 7 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define _FastIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define pb emplace_back
#define pii pair<int , int>
#define F first
#define S second
const int mod = 1000000007;
const int MAXX = 2e7 + 5;
const int N = 2e7;
int a , b;
int main()
{
    _FastIO;
    cin >> a >> b;
    cout << (a | b) + (a & b) << endl;
    return 0;
}
            
            
            
        