結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
![]() |
提出日時 | 2020-08-19 11:22:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 233 bytes |
コンパイル時間 | 188 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-12 03:36:48 |
合計ジャッジ時間 | 1,715 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 WA * 18 |
ソースコード
X = int(input()) Y = int(input()) L = int(input()) T = 0 A = abs(X // L) B = abs(Y // L) if not X % L == 0: A += 1 if not Y % L == 0: B += 1 if Y < 0: T += 2 elif X == 0: pass else: T += 1 print(T + A + B)