結果

問題 No.1009 面積の求め方
ユーザー syunsuke
提出日時 2020-11-09 22:00:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 82,516 KB
実行使用メモリ 75,392 KB
最終ジャッジ日時 2024-07-22 16:21:47
合計ジャッジ時間 2,030 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())
ans=0
i=A+0
while i<=B:
    ans+=(i**2-(A+B)*i+A*B)*0.00001
    i+=0.00001
print(abs(ans))
0