結果
問題 | No.46 はじめのn歩 |
ユーザー |
![]() |
提出日時 | 2016-02-18 00:07:50 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 248 bytes |
コンパイル時間 | 878 ms |
コンパイル使用メモリ | 100,192 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 02:53:16 |
合計ジャッジ時間 | 1,418 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
import std.stdio, std.conv, std.string, std.range, std.algorithm; void main() { auto input = readln.split.to!(int[]); auto a = input[0], b = input[1]; auto ans = b / a + (b % a ? 1 : 0); ans.writeln; }