結果
問題 | No.2352 Sharpened Knife in Fall |
ユーザー | fiblonaria |
提出日時 | 2023-06-20 04:14:21 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 258 bytes |
コンパイル時間 | 1,414 ms |
コンパイル使用メモリ | 86,956 KB |
実行使用メモリ | 82,808 KB |
最終ジャッジ日時 | 2023-09-09 23:01:30 |
合計ジャッジ時間 | 14,726 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 70 ms
71,808 KB |
testcase_01 | AC | 75 ms
71,844 KB |
testcase_02 | AC | 72 ms
72,012 KB |
testcase_03 | AC | 76 ms
71,656 KB |
testcase_04 | AC | 544 ms
82,808 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
ソースコード
import math R, K = map(int, input().split()) eps = 10 ** (-8) for i in range(1, K + 1): m = [0, math.pi] while m[1] - m[0] > eps: t = sum(m) / 2 m[t - math.sin(t) * math.cos(t) - math.pi / (K + 1) * i > 0] = t print('{:.6f}'.format(-math.cos(t) * R))