結果

問題 No.51 やる気の問題
ユーザー tookunn_1213tookunn_1213
提出日時 2015-04-06 11:05:07
言語 Python2
(2.7.18)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 80 bytes
コンパイル時間 693 ms
コンパイル使用メモリ 6,620 KB
実行使用メモリ 6,164 KB
最終ジャッジ日時 2023-09-17 06:10:59
合計ジャッジ時間 1,943 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 9 ms
6,024 KB
testcase_01 AC 10 ms
5,976 KB
testcase_02 AC 9 ms
6,140 KB
testcase_03 AC 10 ms
6,056 KB
testcase_04 AC 9 ms
6,024 KB
testcase_05 AC 29 ms
5,928 KB
testcase_06 AC 23 ms
6,148 KB
testcase_07 AC 23 ms
5,944 KB
testcase_08 AC 18 ms
6,048 KB
testcase_09 AC 41 ms
5,944 KB
testcase_10 AC 19 ms
5,992 KB
testcase_11 AC 17 ms
6,024 KB
testcase_12 AC 27 ms
5,944 KB
testcase_13 AC 27 ms
6,024 KB
testcase_14 AC 22 ms
6,028 KB
testcase_15 AC 33 ms
6,028 KB
testcase_16 AC 15 ms
6,048 KB
testcase_17 AC 11 ms
6,024 KB
testcase_18 AC 35 ms
6,028 KB
testcase_19 AC 35 ms
6,164 KB
testcase_20 AC 24 ms
6,064 KB
testcase_21 AC 11 ms
6,036 KB
testcase_22 AC 42 ms
5,996 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

W,D = input(),input()
while D > 1:
	W -= int((W*1.0 / (D * D))) 
	D -= 1
print W
0