結果

問題 No.605 板挟みの球面
ユーザー GrayCoderGrayCoder
提出日時 2017-12-05 19:23:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 577 ms
コンパイル使用メモリ 10,616 KB
実行使用メモリ 8,020 KB
最終ジャッジ日時 2023-08-19 03:32:49
合計ジャッジ時間 623 ms
ジャッジサーバーID
(参考情報)
judge10 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,836 KB
testcase_01 AC 13 ms
8,012 KB
testcase_02 AC 15 ms
7,916 KB
testcase_03 AC 14 ms
8,020 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

def main():
    A, B = (float(input()) for _ in [0] * 2)

    h = B - A
    s = 2 * math.pi * h
    print(s)

main()
0