結果

問題 No.581 XOR
ユーザー king_of_sun
提出日時 2019-10-04 22:19:04
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 282 bytes
コンパイル時間 2,734 ms
コンパイル使用メモリ 192,924 KB
最終ジャッジ日時 2025-01-07 20:37:46
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
 
#define int  long long
const int MOD = 1e9 + 7;
const int INF = 1e18;

void solve(){
	int a, b;
	cin >> a >> b;
	a ^= b;
  	cout << a << endl;
}

int32_t main(){
   ios_base::sync_with_stdio(false);
   cin.tie(nullptr);
   solve();
}
0