結果

問題 No.1256 連続整数列
ユーザー oooooba
提出日時 2021-06-28 19:53:14
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 457 bytes
コンパイル時間 1,005 ms
コンパイル使用メモリ 111,984 KB
最終ジャッジ日時 2025-01-22 14:48:00
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <deque>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <optional>
#include <queue>
#include <set>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <vector>

using namespace std;

int main() {
    int32_t a;
    cin >> a;
    while (a % 2 == 0) {
        a /= 2;
    }
    cout << (a != 1 ? "YES" : "NO") << endl;
    return 0;
}
0