結果
問題 | No.1033 乱数サイ |
ユーザー |
|
提出日時 | 2020-08-16 16:11:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 242 bytes |
コンパイル時間 | 424 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 226,756 KB |
最終ジャッジ日時 | 2024-10-11 13:24:29 |
合計ジャッジ時間 | 4,967 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 TLE * 1 -- * 4 |
ソースコード
c,r=map(int,input().split()) tmc=c tmc+=1 #分母and回数 bo=tmc*r ls=[] for i in range(c+1): for j in range(r): ls.append(i) ls=sorted(ls) su=0 bos=1/bo som=0 for i in ls: som+=bos*i print(som)