結果
問題 | No.581 XOR |
ユーザー | msm1993 |
提出日時 | 2020-10-29 17:33:31 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 555 bytes |
コンパイル時間 | 649 ms |
コンパイル使用メモリ | 78,040 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-09-29 04:01:41 |
合計ジャッジ時間 | 1,509 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,376 KB |
testcase_01 | AC | 2 ms
4,380 KB |
testcase_02 | AC | 1 ms
4,376 KB |
testcase_03 | AC | 2 ms
4,376 KB |
testcase_04 | AC | 2 ms
4,376 KB |
testcase_05 | AC | 2 ms
4,376 KB |
testcase_06 | AC | 1 ms
4,376 KB |
testcase_07 | AC | 1 ms
4,376 KB |
testcase_08 | AC | 1 ms
4,376 KB |
ソースコード
#define _USE_MATH_DEFINES #include <iostream> //cin, cout #include <vector> //vector #include <algorithm> //sort,min,max,count #include <string> //string,getline #include <ios> //fixed #include <iomanip> //setprecision #include <utility> //swap, pair #include <cstdlib> //abs(int) #include <cmath> //sqrt,ceil,M_PI, pow, sin #include <sstream> //stringstream,getline #include <numeric> //gcd, accumlate #include <deque> //deque using namespace std; int main() { long long int A, B, C; cin >> A >> C; B = A ^ C; cout << B << endl; return 0; }