結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
![]() |
提出日時 | 2019-09-20 21:01:06 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 216 bytes |
コンパイル時間 | 102 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-14 15:50:34 |
合計ジャッジ時間 | 1,790 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 24 |
ソースコード
import math a=int(input()) b=int(input()) c=int(input()) d=0 if b<0: d+=2 d+=math.ceil(-b//c) else: d+=math.ceil(b//c) if a<0: d+=1 d+=math.ceil(-b//c) else: d+=math.ceil(b//c) print(d)