結果
問題 | No.48 ロボットの操縦 |
ユーザー |
![]() |
提出日時 | 2023-08-02 17:10:47 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 175 bytes |
コンパイル時間 | 3,807 ms |
コンパイル使用メモリ | 63,904 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-12 13:13:42 |
合計ジャッジ時間 | 4,639 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 WA * 2 |
ソースコード
import strutilsvarx, y, l = parseInt readLine stdincnt = 0if y < 0: cnt.inc 2elif x != 0: inc cntcnt += y.abs.pred div l + 1cnt += x.abs.pred div l + 1echo cnt