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