結果

問題 No.46 はじめのn歩
ユーザー WagiHOH
提出日時 2016-07-07 23:56:25
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 205 bytes
コンパイル時間 742 ms
コンパイル使用メモリ 97,664 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-12 03:34:50
合計ジャッジ時間 1,220 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio;
import std.algorithm;
import std.conv;

void main()
{
    ulong[2] input;
    readln.splitter.map!(to!ulong).copy(input[]);
    writeln(input[1] / input[0] + (input[1] % input[0] > 0));
}
0