結果

問題 No.51 やる気の問題
ユーザー Taichi.NTaichi.N
提出日時 2020-11-18 16:20:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 94 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 87,196 KB
実行使用メモリ 76,328 KB
最終ジャッジ日時 2023-09-30 15:05:26
合計ジャッジ時間 2,966 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,576 KB
testcase_01 AC 70 ms
71,228 KB
testcase_02 AC 70 ms
71,408 KB
testcase_03 AC 74 ms
76,020 KB
testcase_04 AC 73 ms
76,236 KB
testcase_05 AC 76 ms
76,200 KB
testcase_06 AC 75 ms
75,996 KB
testcase_07 AC 74 ms
75,968 KB
testcase_08 AC 74 ms
75,996 KB
testcase_09 AC 73 ms
76,308 KB
testcase_10 AC 73 ms
76,028 KB
testcase_11 AC 74 ms
76,008 KB
testcase_12 AC 74 ms
76,320 KB
testcase_13 AC 75 ms
76,028 KB
testcase_14 AC 75 ms
76,328 KB
testcase_15 AC 75 ms
76,236 KB
testcase_16 AC 75 ms
76,048 KB
testcase_17 AC 74 ms
76,120 KB
testcase_18 AC 77 ms
76,148 KB
testcase_19 AC 72 ms
76,032 KB
testcase_20 AC 75 ms
76,224 KB
testcase_21 AC 74 ms
76,124 KB
testcase_22 AC 74 ms
76,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

W, D = [int(input()) for _ in range(2)]
for d in range(D-1):
    W -= int(W/(D-d)**2)
print(W)
0