結果

問題 No.1372 Median of Submasks
ユーザー V_Melville
提出日時 2022-02-13 18:08:36
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 222 bytes
コンパイル時間 2,885 ms
コンパイル使用メモリ 242,148 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-29 05:44:17
合計ジャッジ時間 3,506 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)

using std::cin;
using std::cout;
using ll = long long;

int main() {
	ll n;
	cin >> n;
	
	int x = log2(n);
	cout << (1ll<<x) << '\n';
	
	return 0;
}
0