結果
| 問題 | No.47 ポケットを叩くとビスケットが2倍 |
| コンテスト | |
| ユーザー |
kokoros888
|
| 提出日時 | 2020-06-29 15:25:39 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 397 ms |
| コンパイル使用メモリ | 20,568 KB |
| 実行使用メモリ | 35,672 KB |
| 最終ジャッジ日時 | 2026-04-02 06:34:15 |
| 合計ジャッジ時間 | 3,448 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 21 |
ソースコード
print("How many biscuits do you want?")
N = int(input())
biscuits = 1
count = 0
while biscuits < N:
biscuits = biscuits*2
count +=1
if N == 1:
print(0)
else:
print(count)
kokoros888