結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
![]() |
提出日時 | 2016-02-18 01:20:25 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 281 bytes |
コンパイル時間 | 650 ms |
コンパイル使用メモリ | 96,128 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 02:53:21 |
合計ジャッジ時間 | 1,489 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 WA * 1 |
ソースコード
import std.stdio, std.conv, std.string, std.range, std.algorithm; void main() { auto N = readln.strip.to!int; auto ans = 1; foreach (i; 1 .. 28) { if ((1UL << i) >= N) break; ans++; } ans.writeln; }