結果
問題 | No.48 ロボットの操縦 |
ユーザー |
![]() |
提出日時 | 2020-09-20 00:44:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 222 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-06-23 23:00:46 |
合計ジャッジ時間 | 1,853 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 25 |
ソースコード
ans = 0 x = int(input()) y = int(input()) l = int(input()) if x != 0: if y < 0: ans += 2 else: ans +=1 x = (x**2)**0.5 y = (y**2)**0.5 ans += ((x+l-1)//l+(y+l-1)//l) print(ans)