結果

問題 No.1272 珍しい級数
ユーザー NatsubiSoganNatsubiSogan
提出日時 2020-10-30 21:25:36
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 527 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 286 ms
使用メモリ 97,592 KB
最終ジャッジ日時 2023-02-21 10:41:50
合計ジャッジ時間 30,624 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 385 ms
96,636 KB
testcase_01 AC 499 ms
96,576 KB
testcase_02 AC 512 ms
97,172 KB
testcase_03 AC 494 ms
96,952 KB
testcase_04 AC 505 ms
96,916 KB
testcase_05 AC 511 ms
96,972 KB
testcase_06 AC 512 ms
97,256 KB
testcase_07 AC 508 ms
97,572 KB
testcase_08 AC 518 ms
97,060 KB
testcase_09 AC 517 ms
97,164 KB
testcase_10 AC 511 ms
97,204 KB
testcase_11 AC 517 ms
97,004 KB
testcase_12 AC 515 ms
97,204 KB
testcase_13 AC 516 ms
97,020 KB
testcase_14 AC 509 ms
97,156 KB
testcase_15 AC 508 ms
97,192 KB
testcase_16 AC 508 ms
97,196 KB
testcase_17 AC 516 ms
97,352 KB
testcase_18 AC 499 ms
96,980 KB
testcase_19 AC 514 ms
97,356 KB
testcase_20 AC 514 ms
97,232 KB
testcase_21 AC 507 ms
97,400 KB
testcase_22 AC 518 ms
97,344 KB
testcase_23 AC 507 ms
97,288 KB
testcase_24 AC 516 ms
97,592 KB
testcase_25 AC 497 ms
97,360 KB
testcase_26 AC 507 ms
97,280 KB
testcase_27 AC 500 ms
97,020 KB
testcase_28 AC 514 ms
97,216 KB
testcase_29 AC 503 ms
97,420 KB
testcase_30 AC 520 ms
97,456 KB
testcase_31 AC 511 ms
97,140 KB
testcase_32 AC 511 ms
96,860 KB
testcase_33 AC 523 ms
97,248 KB
testcase_34 AC 521 ms
97,400 KB
testcase_35 AC 527 ms
97,104 KB
testcase_36 AC 524 ms
97,060 KB
testcase_37 AC 514 ms
97,312 KB
testcase_38 AC 507 ms
97,432 KB
testcase_39 AC 516 ms
97,228 KB
testcase_40 AC 508 ms
97,020 KB
testcase_41 AC 526 ms
97,040 KB
testcase_42 AC 516 ms
97,232 KB
testcase_43 AC 517 ms
97,320 KB
testcase_44 AC 516 ms
97,348 KB
testcase_45 AC 504 ms
97,244 KB
testcase_46 AC 511 ms
97,224 KB
testcase_47 AC 511 ms
97,360 KB
testcase_48 AC 508 ms
97,284 KB
testcase_49 AC 525 ms
97,264 KB
testcase_50 AC 519 ms
96,564 KB
testcase_51 AC 524 ms
97,252 KB
testcase_52 AC 522 ms
97,168 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