結果
| 問題 |
No.48 ロボットの操縦
|
| コンテスト | |
| ユーザー |
bellangeldindon
|
| 提出日時 | 2017-06-01 21:17:14 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 218 bytes |
| コンパイル時間 | 62 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2024-09-21 21:42:21 |
| 合計ジャッジ時間 | 1,054 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 20 |
ソースコード
def movetime(x, max): tmp = x / max if x % max != 0: tmp += 1 return tmp x = int(raw_input()) y = int(raw_input()) max = int(raw_input()) cnt = movetime(y, max) if x != 0: cnt += movetime(x, max) + 1 print cnt
bellangeldindon