結果

問題 No.51 やる気の問題
ユーザー tnoda_tnoda_
提出日時 2015-07-28 15:48:21
言語 Python2
(2.7.18)
結果
AC  
実行時間 31 ms / 5,000 ms
コード長 80 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 6,688 KB
実行使用メモリ 8,916 KB
最終ジャッジ日時 2023-09-23 04:43:24
合計ジャッジ時間 2,181 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,084 KB
testcase_01 AC 11 ms
6,088 KB
testcase_02 AC 11 ms
6,080 KB
testcase_03 AC 12 ms
6,136 KB
testcase_04 AC 12 ms
6,096 KB
testcase_05 AC 25 ms
8,048 KB
testcase_06 AC 20 ms
7,392 KB
testcase_07 AC 20 ms
7,284 KB
testcase_08 AC 16 ms
6,640 KB
testcase_09 AC 30 ms
8,848 KB
testcase_10 AC 17 ms
6,868 KB
testcase_11 AC 16 ms
6,816 KB
testcase_12 AC 20 ms
7,320 KB
testcase_13 AC 21 ms
7,656 KB
testcase_14 AC 19 ms
7,136 KB
testcase_15 AC 26 ms
8,364 KB
testcase_16 AC 16 ms
6,644 KB
testcase_17 AC 12 ms
6,300 KB
testcase_18 AC 27 ms
8,408 KB
testcase_19 AC 28 ms
8,396 KB
testcase_20 AC 21 ms
7,340 KB
testcase_21 AC 12 ms
6,156 KB
testcase_22 AC 31 ms
8,916 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

W = input()
D = input()
for i in range(D, 1, -1):
    W -= W / (i * i)
print(W)
0