結果

問題 No.1178 Can you draw a Circle?
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2020-08-21 22:14:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 325 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 80,128 KB
最終ジャッジ日時 2024-04-25 04:03:23
合計ジャッジ時間 3,100 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
80,000 KB
testcase_01 AC 121 ms
80,000 KB
testcase_02 AC 125 ms
79,872 KB
testcase_03 AC 121 ms
80,128 KB
testcase_04 AC 129 ms
80,000 KB
testcase_05 AC 128 ms
80,000 KB
testcase_06 AC 118 ms
80,128 KB
testcase_07 AC 121 ms
80,000 KB
testcase_08 AC 118 ms
80,000 KB
testcase_09 AC 118 ms
80,128 KB
testcase_10 AC 115 ms
80,000 KB
testcase_11 AC 119 ms
80,000 KB
testcase_12 AC 119 ms
79,744 KB
testcase_13 AC 118 ms
80,000 KB
testcase_14 AC 117 ms
80,000 KB
testcase_15 AC 119 ms
80,000 KB
testcase_16 AC 118 ms
80,128 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *
a,b,c,d,e,f = input().split()

if a != b:
    print (achimi)

a = Decimal(a)
b = Decimal(b)
c = Decimal(c)
d = Decimal(d)
e = Decimal(e)
f = Decimal(f)

f -= e

c /= a
d /= a
f /= a

f += (c**Decimal('2'))/Decimal('4')
f += (d**Decimal('2'))/Decimal('4')



#print (a,f)

print (abs(f)**Decimal('0.5'))
0