結果

問題 No.1033 乱数サイ
ユーザー Subaru314Subaru314
提出日時 2021-02-20 01:40:09
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 11,752 KB
実行使用メモリ 10,084 KB
最終ジャッジ日時 2023-10-17 06:11:43
合計ジャッジ時間 2,102 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,084 KB
testcase_01 AC 29 ms
10,084 KB
testcase_02 AC 28 ms
10,084 KB
testcase_03 AC 28 ms
10,084 KB
testcase_04 AC 28 ms
10,084 KB
testcase_05 AC 28 ms
10,084 KB
testcase_06 AC 28 ms
10,084 KB
testcase_07 AC 28 ms
10,084 KB
testcase_08 AC 28 ms
10,084 KB
testcase_09 AC 28 ms
10,084 KB
testcase_10 AC 29 ms
10,084 KB
testcase_11 AC 29 ms
10,084 KB
testcase_12 AC 32 ms
10,084 KB
testcase_13 AC 32 ms
10,084 KB
testcase_14 AC 40 ms
10,084 KB
testcase_15 AC 54 ms
10,084 KB
testcase_16 AC 70 ms
10,084 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = list(map(int,input().split()))

ans = 0
for i in range(n[0]+1):
    ans = ans + i * n[1] * (1/((n[0]+1)*n[1]))
    
print(ans)
0