結果

問題 No.1009 面積の求め方
ユーザー 👑 H20H20
提出日時 2020-11-27 10:19:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 1,507 ms
コンパイル使用メモリ 86,968 KB
実行使用メモリ 76,572 KB
最終ジャッジ日時 2023-10-01 04:01:04
合計ジャッジ時間 4,331 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
76,204 KB
testcase_01 AC 68 ms
71,088 KB
testcase_02 AC 75 ms
76,288 KB
testcase_03 AC 89 ms
76,152 KB
testcase_04 AC 67 ms
71,292 KB
testcase_05 AC 68 ms
71,228 KB
testcase_06 AC 83 ms
76,288 KB
testcase_07 AC 80 ms
76,284 KB
testcase_08 AC 80 ms
76,572 KB
testcase_09 AC 73 ms
75,676 KB
testcase_10 AC 74 ms
75,976 KB
testcase_11 AC 73 ms
75,892 KB
testcase_12 AC 78 ms
76,292 KB
testcase_13 AC 80 ms
76,280 KB
testcase_14 AC 81 ms
76,372 KB
testcase_15 AC 84 ms
76,364 KB
testcase_16 AC 87 ms
76,292 KB
testcase_17 AC 80 ms
76,484 KB
testcase_18 AC 84 ms
76,512 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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