結果

問題 No.1272 珍しい級数
ユーザー NatsubiSoganNatsubiSogan
提出日時 2020-10-30 21:25:36
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 439 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 87,248 KB
実行使用メモリ 94,036 KB
最終ジャッジ日時 2023-09-29 04:44:52
合計ジャッジ時間 24,612 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 316 ms
92,640 KB
testcase_01 AC 415 ms
94,036 KB
testcase_02 AC 417 ms
93,628 KB
testcase_03 AC 421 ms
93,804 KB
testcase_04 AC 422 ms
93,848 KB
testcase_05 AC 415 ms
93,592 KB
testcase_06 AC 439 ms
93,656 KB
testcase_07 AC 416 ms
93,968 KB
testcase_08 AC 412 ms
93,416 KB
testcase_09 AC 413 ms
93,736 KB
testcase_10 AC 418 ms
93,572 KB
testcase_11 AC 421 ms
93,464 KB
testcase_12 AC 418 ms
93,532 KB
testcase_13 AC 427 ms
93,732 KB
testcase_14 AC 415 ms
93,160 KB
testcase_15 AC 418 ms
93,268 KB
testcase_16 AC 421 ms
93,468 KB
testcase_17 AC 429 ms
93,396 KB
testcase_18 AC 429 ms
93,660 KB
testcase_19 AC 417 ms
93,448 KB
testcase_20 AC 433 ms
93,200 KB
testcase_21 AC 416 ms
93,504 KB
testcase_22 AC 421 ms
93,568 KB
testcase_23 AC 413 ms
93,428 KB
testcase_24 AC 427 ms
93,596 KB
testcase_25 AC 410 ms
93,392 KB
testcase_26 AC 423 ms
93,440 KB
testcase_27 AC 413 ms
93,140 KB
testcase_28 AC 418 ms
93,504 KB
testcase_29 AC 426 ms
93,584 KB
testcase_30 AC 416 ms
93,636 KB
testcase_31 AC 423 ms
93,856 KB
testcase_32 AC 417 ms
93,736 KB
testcase_33 AC 426 ms
93,604 KB
testcase_34 AC 416 ms
93,592 KB
testcase_35 AC 418 ms
93,584 KB
testcase_36 AC 427 ms
93,468 KB
testcase_37 AC 413 ms
93,492 KB
testcase_38 AC 422 ms
93,192 KB
testcase_39 AC 416 ms
93,516 KB
testcase_40 AC 422 ms
93,452 KB
testcase_41 AC 413 ms
93,780 KB
testcase_42 AC 425 ms
93,564 KB
testcase_43 AC 411 ms
93,524 KB
testcase_44 AC 416 ms
93,404 KB
testcase_45 AC 419 ms
93,648 KB
testcase_46 AC 419 ms
93,376 KB
testcase_47 AC 422 ms
93,576 KB
testcase_48 AC 428 ms
93,676 KB
testcase_49 AC 426 ms
93,440 KB
testcase_50 AC 416 ms
93,544 KB
testcase_51 AC 418 ms
93,508 KB
testcase_52 AC 418 ms
93,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sin
from decimal import Decimal
k = Decimal(input())
ans = Decimal("0")
for i in range(1, 1000):
    ans += Decimal(sin(k * Decimal(str(i)))) / Decimal(pow(i, i))
print(ans)
0