結果

問題 No.1256 連続整数列
ユーザー K_Meraq6K_Meraq6
提出日時 2020-10-16 21:47:32
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 244 bytes
コンパイル時間 599 ms
コンパイル使用メモリ 64,052 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-21 01:21:11
合計ジャッジ時間 1,403 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main() {
    int a; cin >> a;
    int b = 2;
    while(b < a) {
        b *= 2;
    }
    if(b == a) {
        cout << "NO" << endl;
        return 0;
    }
    cout << "YES" << endl;
    return 0;
}
0