結果
| 問題 |
No.2323 Nafmo、A+Bをする
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-28 13:44:05 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 350 bytes |
| コンパイル時間 | 1,883 ms |
| コンパイル使用メモリ | 193,084 KB |
| 最終ジャッジ日時 | 2025-02-13 10:13:10 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 RE * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = unsigned long long;
using Graph = vector<vector<int>>;
int main()
{
int a, b;
cin >> a >> b;
string a_s = to_string(a), b_s = to_string(b);
a = stoi(a_s, 0, 2);
b = stoi(b_s, 0, 2);
a = (a ^ b);
cout << a << endl;
}