結果
| 問題 |
No.48 ロボットの操縦
|
| コンテスト | |
| ユーザー |
taba
|
| 提出日時 | 2016-04-14 06:31:41 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 5,000 ms |
| コード長 | 146 bytes |
| コンパイル時間 | 253 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2024-11-21 18:37:15 |
| 合計ジャッジ時間 | 1,215 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
import math x=input() y=input() l=input() s=0 if y<0: s+=1 if x!=0 or y<0: s+=1 s+=math.ceil(1.*abs(x)/l) s+=math.ceil(1.*abs(y)/l) print int(s)
taba