結果

問題 No.3057 A xor B = C
ユーザー okitzokitz
提出日時 2020-04-01 21:33:08
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 777 bytes
コンパイル時間 1,803 ms
コンパイル使用メモリ 164,292 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-09 16:26:20
合計ジャッジ時間 1,887 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:2:9: 警告: #pragma once がメインファイルにあります
    2 | #pragma once
      |         ^~~~

ソースコード

diff #

#include <bits/stdc++.h>
#pragma once
using namespace std;
#define repd(i,a,b) for (int i=(a);i<(b);i++)
#define rep(i,n) repd(i,0,n)
typedef long long ll;
typedef long double lb;
#define int long long
#define double long double
#define endn "\n"
typedef pair<int,int> P;
const int MOD = 1000000007;
const ll INF = 1e16;
const double EPS = 1e-10;
const double PI = 3.141592653589793;
template<class T> inline bool chmin(T& a, T b){if(a>b){a = b;return 1;}return 0;}
template<class T> inline bool chmax(T& a, T b){if(a<b){a = b;return 1;}return 0;}
const pair<int,int> fd[] = {make_pair(1,0),make_pair(-1,0),make_pair(0,1),make_pair(0,-1)}; 


////////////////////////////////////////////////////////////////////

signed main(){
  int a, b;cin>>a>>b;
  cout << (a^b) << endl;
}
0