結果
| 問題 | No.1957 Xor Min |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-18 18:03:25 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 257 bytes |
| 記録 | |
| コンパイル時間 | 1,744 ms |
| コンパイル使用メモリ | 207,468 KB |
| 実行使用メモリ | 9,184 KB |
| 最終ジャッジ日時 | 2026-07-07 06:16:07 |
| 合計ジャッジ時間 | 2,723 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 WA * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int a,c;
cin >> a >>c;
if(a>c) swap(a,c);
long long int val = log2(c);
long long int ans = 1;
ans = ans << val;
cout << ans-1;
// your code goes here
}