結果
問題 |
No.1511 A ? B Problem
|
ユーザー |
![]() |
提出日時 | 2022-01-24 19:21:46 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 453 bytes |
コンパイル時間 | 3,204 ms |
コンパイル使用メモリ | 285,600 KB |
最終ジャッジ日時 | 2025-01-27 15:09:55 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 14 |
ソースコード
#include"bits/stdc++.h" #include<boost/multi_array.hpp> #include<boost/optional.hpp> #include<boost/range/irange.hpp> #include<boost/range/algorithm.hpp> #include<boost/range/adaptors.hpp> using namespace std; namespace adaptor = boost::adaptors; void Main(){ int a,b; cin >> a >> b; cout << (a|b)-(a&b); } int main(){ std::cin.tie(nullptr); std::ios_base::sync_with_stdio(false); std::cout << std::fixed << std::setprecision(15); Main(); }