結果

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

ソースコード

diff #

#include <stdio.h>
#include <math.h>
int main(void) {
	long	a;
	scanf( "%ld", &a );
	printf("%.0f\n", ceil(log2(a)) );
	return 0;
}
0