結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
![]() |
提出日時 | 2016-05-31 23:08:51 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 5,000 ms |
コード長 | 148 bytes |
コンパイル時間 | 484 ms |
コンパイル使用メモリ | 6,820 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-08 01:30:10 |
合計ジャッジ時間 | 1,553 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
# -*- coding: utf-8 -*- __author__ = 'yuuki' N = input() i = 1 cnt = 0 while N != i: i *= 2 cnt += 1 if i > N: break print cnt