結果

問題 No.51 やる気の問題
ユーザー lllllll88938494lllllll88938494
提出日時 2023-05-28 20:28:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 86 bytes
コンパイル時間 435 ms
コンパイル使用メモリ 86,780 KB
実行使用メモリ 75,820 KB
最終ジャッジ日時 2023-08-27 15:58:44
合計ジャッジ時間 2,934 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,260 KB
testcase_01 AC 63 ms
71,392 KB
testcase_02 AC 69 ms
71,380 KB
testcase_03 AC 71 ms
75,744 KB
testcase_04 AC 76 ms
75,744 KB
testcase_05 AC 68 ms
75,796 KB
testcase_06 AC 67 ms
75,552 KB
testcase_07 AC 65 ms
75,796 KB
testcase_08 AC 69 ms
75,740 KB
testcase_09 AC 68 ms
75,756 KB
testcase_10 AC 67 ms
75,604 KB
testcase_11 AC 67 ms
75,776 KB
testcase_12 AC 64 ms
75,532 KB
testcase_13 AC 66 ms
75,540 KB
testcase_14 AC 68 ms
75,496 KB
testcase_15 AC 72 ms
75,656 KB
testcase_16 AC 66 ms
75,664 KB
testcase_17 AC 64 ms
75,772 KB
testcase_18 AC 68 ms
75,604 KB
testcase_19 AC 66 ms
75,548 KB
testcase_20 AC 67 ms
75,612 KB
testcase_21 AC 69 ms
75,820 KB
testcase_22 AC 72 ms
75,540 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

w=int(input())
d=int(input())

for i in range(d,1,-1):
    w -= w//i**2

print(w)
    
0