結果
| 問題 |
No.1408 Nice Dice Game
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-02-27 07:21:57 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 140 bytes |
| コンパイル時間 | 564 ms |
| コンパイル使用メモリ | 82,268 KB |
| 実行使用メモリ | 59,164 KB |
| 最終ジャッジ日時 | 2024-10-02 17:05:03 |
| 合計ジャッジ時間 | 3,209 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 33 WA * 3 |
ソースコード
def z(x):
v = 1.0
for i in range(2,100000):
v += pow(1/i,x)
return v
n = int(input())
print(z(2*n-1) if n>1 else "INF")
convexineq