結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
![]() |
提出日時 | 2015-09-04 22:23:47 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 287 bytes |
コンパイル時間 | 48 ms |
コンパイル使用メモリ | 5,376 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2024-07-18 23:50:28 |
合計ジャッジ時間 | 1,419 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 18 WA * 7 |
ソースコード
(define (System.out.println x) (begin (display x) (newline) ) ) (let ( (X (abs (read))) (Y (abs (read))) (L (read)) ) (if (= X 0) (System.out.println (ceiling (/ Y L))) (System.out.println (+ (ceiling (/ Y L)) (ceiling (/ X L)) 1)) ) )