結果

問題 No.353 ヘイトプラス
ユーザー rocoderrocoder
提出日時 2017-06-20 05:00:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 150 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 10,536 KB
実行使用メモリ 7,948 KB
最終ジャッジ日時 2023-09-16 23:54:48
合計ジャッジ時間 1,224 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 14 ms
7,936 KB
testcase_02 AC 13 ms
7,800 KB
testcase_03 AC 13 ms
7,812 KB
testcase_04 AC 15 ms
7,804 KB
testcase_05 AC 15 ms
7,756 KB
testcase_06 AC 15 ms
7,948 KB
testcase_07 AC 14 ms
7,804 KB
testcase_08 AC 14 ms
7,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=(float(i) for i in input (). split ())
if A==B:
    print (int(A*2))
else:
    A2=A*A
    B2=B*B
    A2-=B2
    A-=B
    A2/=A
    print (int(A2))
0