結果

問題 No.1459 スマホを落としたいだけなのに
ユーザー ぷら
提出日時 2021-03-31 22:04:39
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 1,754 ms
コンパイル使用メモリ 166,208 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-15 18:53:08
合計ジャッジ時間 2,942 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 6
other AC * 4 WA * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main() {
    int N;
    cin >> N;
    int ans = 0;
    while (N) {
        N /= 2;
        ans++;
    }
    cout << ans << endl;
}
0