結果

問題 No.1235 ζ関数
ユーザー hiro1729hiro1729
提出日時 2023-09-02 08:50:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 408 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 10,960 KB
実行使用メモリ 7,980 KB
最終ジャッジ日時 2023-09-02 08:50:11
合計ジャッジ時間 2,405 ms
ジャッジサーバーID
(参考情報)
judge16 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,904 KB
testcase_01 AC 17 ms
7,820 KB
testcase_02 AC 16 ms
7,856 KB
testcase_03 AC 16 ms
7,788 KB
testcase_04 AC 16 ms
7,980 KB
testcase_05 AC 16 ms
7,840 KB
testcase_06 AC 16 ms
7,916 KB
testcase_07 AC 16 ms
7,804 KB
testcase_08 AC 16 ms
7,804 KB
testcase_09 AC 15 ms
7,828 KB
testcase_10 AC 15 ms
7,828 KB
testcase_11 AC 15 ms
7,912 KB
testcase_12 AC 16 ms
7,888 KB
testcase_13 AC 16 ms
7,832 KB
testcase_14 AC 16 ms
7,788 KB
testcase_15 AC 15 ms
7,860 KB
testcase_16 AC 16 ms
7,880 KB
testcase_17 AC 16 ms
7,788 KB
testcase_18 AC 16 ms
7,976 KB
testcase_19 AC 15 ms
7,888 KB
testcase_20 AC 15 ms
7,936 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n == 10:
	print("1.0009945")
elif n == 11:
	print("1.0004941")
elif n == 12:
	print("1.0002460")
elif n == 13:
	print("1.0001227")
elif n == 14:
	print("1.0000612")
elif n == 15:
	print("1.0000305")
elif n == 16:
	print("1.0000152")
elif n == 17:
	print("1.0000076")
elif n == 18:
	print("1.0000038")
elif n == 19:
	print("1.0000019")
elif n == 20:
	print("1.0000009")
else:
	print("1.0")
0