結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
panapanagdf
|
| 提出日時 | 2019-09-20 21:01:06 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 216 bytes |
| 記録 | |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 16,000 KB |
| 最終ジャッジ日時 | 2026-08-27 06:14:11 |
| 合計ジャッジ時間 | 4,176 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
panapanagdf