結果
| 問題 | 
                            No.1372 Median of Submasks
                             | 
                    
| コンテスト | |
| ユーザー | 
                            👑  | 
                    
| 提出日時 | 2022-08-17 11:04:09 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 146 bytes | 
| コンパイル時間 | 522 ms | 
| コンパイル使用メモリ | 66,672 KB | 
| 最終ジャッジ日時 | 2025-01-30 23:24:36 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 18 WA * 6 | 
ソースコード
#include <iostream>
using namespace std;
int main(){
    long long x;cin>>x;
    long long c = 1;
    while(x > c*2)c*=2;
    cout << c << endl;
}