結果
問題 |
No.1372 Median of Submasks
|
ユーザー |
![]() |
提出日時 | 2022-09-21 22:38:04 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 165 bytes |
コンパイル時間 | 1,815 ms |
コンパイル使用メモリ | 192,284 KB |
最終ジャッジ日時 | 2025-02-07 13:27:41 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 WA * 6 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int long long signed main(){ int N; cin>>N; int ans = 1; while(ans*2 < N) ans*=2; cout<<ans<<endl; }