結果
| 問題 |
No.47 ポケットを叩くとビスケットが2倍
|
| コンテスト | |
| ユーザー |
nak2yoshi
|
| 提出日時 | 2016-02-18 01:28:27 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 190 bytes |
| コンパイル時間 | 2,520 ms |
| コンパイル使用メモリ | 149,060 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-12 02:53:24 |
| 合計ジャッジ時間 | 3,372 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
コンパイルメッセージ
Main.d(12): Deprecation: function `std.math.exponential.log2` is deprecated - `std.math.exponential.log2` called with argument types `(ulong)` matches both `log2(real)`, `log2(double)`, and `log2(float)`. Cast argument to floating point type instead.
ソースコード
import std.stdio,
std.conv,
std.string,
std.range,
std.algorithm,
std.math;
void main()
{
auto N = readln.strip.to!ulong;
N.log2.ceil.writeln;
}
nak2yoshi