結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-09-02 21:54:40 |
| 言語 | D (dmd 2.112.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 181 bytes |
| 記録 | |
| コンパイル時間 | 2,432 ms |
| コンパイル使用メモリ | 185,472 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-04 00:07:47 |
| 合計ジャッジ時間 | 4,311 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
コンパイルメッセージ
/home/linuxbrew/.linuxbrew/opt/dmd/include/dlang/dmd/core/checkedint.d(814): Warning: cannot inline function `core.checkedint.mulu!().mulu`
ulong mulu()(ulong x, uint y, ref bool overflow)
^
ソースコード
module main;
import std;
void main()
{
// 入力
long a, b;
readln.chomp.formattedRead("%d %d", a, b);
// 答えの計算と出力
writeln(b % a == 0 ? b / a : b / a + 1);
}