結果

問題 No.47 ポケットを叩くとビスケットが2倍
ユーザー diginatu
提出日時 2014-10-22 00:22:38
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 111 bytes
コンパイル時間 2,453 ms
コンパイル使用メモリ 146,328 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-12 01:27:38
合計ジャッジ時間 3,270 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.d(3): Deprecation: function `std.math.exponential.log2` is deprecated - `std.math.exponential.log2` called with argument types `(long)` matches both `log2(real)`, `log2(double)`, and `log2(float)`. Cast argument to floating point type instead.

ソースコード

diff #

import std.stdio, std.conv, std.math, std.string;
void main(){
  readln.strip.to!long.log2.ceil.writeln;
}
0