結果

問題 No.1033 乱数サイ
ユーザー pypypymipypypymi
提出日時 2022-02-01 10:44:06
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 140 bytes
コンパイル時間 378 ms
コンパイル使用メモリ 86,880 KB
実行使用メモリ 81,432 KB
最終ジャッジ日時 2023-09-02 02:29:12
合計ジャッジ時間 6,085 ms
ジャッジサーバーID
(参考情報)
judge16 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,464 KB
testcase_01 AC 73 ms
71,424 KB
testcase_02 AC 71 ms
71,148 KB
testcase_03 AC 72 ms
71,408 KB
testcase_04 AC 73 ms
71,352 KB
testcase_05 AC 73 ms
71,148 KB
testcase_06 AC 73 ms
71,616 KB
testcase_07 AC 73 ms
71,524 KB
testcase_08 AC 74 ms
71,284 KB
testcase_09 AC 77 ms
76,220 KB
testcase_10 AC 76 ms
76,476 KB
testcase_11 AC 85 ms
76,932 KB
testcase_12 AC 229 ms
77,092 KB
testcase_13 AC 464 ms
76,964 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int,input().split())
pro = (n+1)*k
value = 0
for i in range(0,n+1):
    for j in range(0,k):
        value+=(1/pro)*i
print(value)
0