結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2026-08-17 12:10:53 |
| 言語 | Haskell (9.14.1) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| + 99µs | |
| コード長 | 254 bytes |
| 記録 | |
| コンパイル時間 | 11,023 ms |
| コンパイル使用メモリ | 193,664 KB |
| 実行使用メモリ | 9,300 KB |
| 最終ジャッジ日時 | 2026-08-17 12:11:06 |
| 合計ジャッジ時間 | 10,853 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.14.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
main :: IO ()
main = do
-- Read a line from standard input, split it by spaces, and parse as integers
[a, b] <- map read . words <$> getLine
-- Perform the integer division calculation and print the result
print ((b + a - 1) `div` a)
vjudge1