結果

問題 No.306 さいたま2008
ユーザー nohakai3nohakai3
提出日時 2022-11-05 12:26:54
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 451 ms
コンパイル使用メモリ 87,180 KB
実行使用メモリ 71,636 KB
最終ジャッジ日時 2023-09-26 12:03:56
合計ジャッジ時間 3,526 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,096 KB
testcase_01 AC 70 ms
71,196 KB
testcase_02 AC 72 ms
71,292 KB
testcase_03 AC 72 ms
71,380 KB
testcase_04 AC 72 ms
71,636 KB
testcase_05 AC 71 ms
71,452 KB
testcase_06 AC 71 ms
71,284 KB
testcase_07 AC 72 ms
71,556 KB
testcase_08 AC 73 ms
71,352 KB
testcase_09 AC 72 ms
71,520 KB
testcase_10 AC 72 ms
71,560 KB
testcase_11 AC 72 ms
71,356 KB
testcase_12 AC 73 ms
71,284 KB
testcase_13 AC 73 ms
71,196 KB
testcase_14 AC 73 ms
71,508 KB
testcase_15 AC 72 ms
71,348 KB
testcase_16 AC 72 ms
71,360 KB
testcase_17 AC 71 ms
71,100 KB
testcase_18 AC 70 ms
71,268 KB
testcase_19 AC 72 ms
71,140 KB
testcase_20 AC 72 ms
71,464 KB
testcase_21 AC 71 ms
71,216 KB
testcase_22 AC 71 ms
71,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x1,y1=map(int,input().split())
x2,y2=map(int,input().split())
x2*=-1
a = (y2 - y1) / (x2 - x1)
b = y1 - a * x1
print(b)
0