結果

問題 No.46 はじめのn歩
ユーザー roiti46
提出日時 2015-05-24 05:56:26
言語 Nim
(2.2.0)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 3,181 ms
コンパイル使用メモリ 65,152 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-29 02:01:23
合計ジャッジ時間 3,187 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 39) Warning: imported and not used: 'math' [UnusedImport]
/home/judge/data/code/Main.nim(1, 28) Warning: imported and not used: 'algorithm' [UnusedImport]

ソースコード

diff #

import strutils, sequtils, algorithm, math

var
    ab = readLine(stdin).split().map(parseInt)
    ans = (ab[0] + ab[1] - 1) div ab[1]

echo($ans)
0