結果
| 問題 | No.47 ポケットを叩くとビスケットが2倍 |
| コンテスト | |
| ユーザー |
kokoros888
|
| 提出日時 | 2020-06-29 15:25:39 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 192 bytes |
| 記録 | |
| コンパイル時間 | 493 ms |
| コンパイル使用メモリ | 21,416 KB |
| 実行使用メモリ | 15,884 KB |
| 最終ジャッジ日時 | 2026-08-17 05:15:34 |
| 合計ジャッジ時間 | 4,183 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_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