結果
| 問題 | No.1432 Not Xor |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-26 20:24:26 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 653 bytes |
| 記録 | |
| コンパイル時間 | 3,854 ms |
| コンパイル使用メモリ | 250,780 KB |
| 最終ジャッジ日時 | 2025-01-19 21:49:51 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 7 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
typedef unsigned long long ULLONG;
typedef long long LLONG;
static const LLONG MOD_NUM = 1000000007LL; //998244353LL;
template<class _T> static void get(_T& a) {
std::cin >> a;
}
template<class _T> static void get(_T& a, _T& b) {
std::cin >> a >> b;
}
template<class _T> static void get(_T& a, _T& b, _T& c) {
std::cin >> a >> b >> c;
}
template <class _T> static _T tp_abs(_T a) {
if (a < (_T)0) {
a *= (_T)-1;
}
return a;
}
static void A_task();
int main()
{
A_task();
fflush(stdout);
return 0;
}
static void A_task()
{
LLONG A, B;
get(A, B);
printf("%lld\n", (A | B) + (A & B));
}