結果

問題 No.47 ポケットを叩くとビスケットが2倍
ユーザー nyboyu
提出日時 2018-01-22 14:53:41
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 147 bytes
コンパイル時間 432 ms
コンパイル使用メモリ 28,544 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-25 23:52:11
合計ジャッジ時間 1,246 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int N,count;
int main(void) {
    scanf("%d",&N);
    N--;
    while(N>>count)count++;
    printf("%d\n",count);
    return 0;
}
0