結果

問題 No.1273 はじめのζ関数
ユーザー tailstails
提出日時 2020-10-30 21:55:39
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 78 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 5,300 KB
最終ジャッジ日時 2023-09-29 06:01:00
合計ジャッジ時間 1,844 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
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 AC 5 ms
4,608 KB
testcase_21 AC 5 ms
4,904 KB
testcase_22 AC 5 ms
4,836 KB
testcase_23 AC 5 ms
4,944 KB
testcase_24 AC 5 ms
4,888 KB
testcase_25 AC 6 ms
4,884 KB
testcase_26 AC 6 ms
4,984 KB
testcase_27 AC 5 ms
4,992 KB
testcase_28 AC 6 ms
4,896 KB
testcase_29 AC 5 ms
4,904 KB
testcase_30 AC 5 ms
4,896 KB
testcase_31 AC 5 ms
4,956 KB
testcase_32 AC 5 ms
4,896 KB
testcase_33 AC 5 ms
4,816 KB
testcase_34 AC 6 ms
4,884 KB
testcase_35 AC 5 ms
4,908 KB
testcase_36 AC 6 ms
4,936 KB
testcase_37 AC 6 ms
4,860 KB
testcase_38 AC 5 ms
4,912 KB
testcase_39 AC 5 ms
4,844 KB
testcase_40 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$x=<>;
for$i(2..10000){$a+=$i**-($x-1)/($i-1)}
print int $x==2?1000000:$a*1e6;
0