結果

問題 No.1033 乱数サイ
ユーザー futago0118futago0118
提出日時 2020-05-14 20:30:33
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 189 bytes
コンパイル時間 952 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 12,152 KB
最終ジャッジ日時 2023-10-14 00:54:08
合計ジャッジ時間 5,873 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
12,152 KB
testcase_01 AC 16 ms
7,948 KB
testcase_02 AC 16 ms
7,724 KB
testcase_03 AC 16 ms
7,836 KB
testcase_04 AC 15 ms
7,752 KB
testcase_05 AC 15 ms
7,832 KB
testcase_06 AC 16 ms
7,780 KB
testcase_07 AC 15 ms
7,804 KB
testcase_08 AC 16 ms
7,880 KB
testcase_09 AC 21 ms
7,808 KB
testcase_10 AC 24 ms
7,916 KB
testcase_11 AC 268 ms
7,844 KB
testcase_12 TLE -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int,input().split())

N_list = [int(x) for x in range(N+1)]

n = N + 1
N_sum = 0
for i in range(N+1):
    for j in range(K):
        N_sum += N_list[i]
        
print(N_sum/(n*K))
0