結果
問題 | No.1033 乱数サイ |
ユーザー | YU Hirose |
提出日時 | 2024-06-18 23:30:02 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 115 bytes |
コンパイル時間 | 416 ms |
コンパイル使用メモリ | 82,764 KB |
実行使用メモリ | 59,044 KB |
最終ジャッジ日時 | 2024-06-18 23:30:05 |
合計ジャッジ時間 | 2,539 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
n, k = map(int, input().split()) res = 0 cnt = 0 for i in range(n+1): res += i*k cnt += k print(res / cnt)