結果

問題 No.51 やる気の問題
ユーザー あかりきあかりき
提出日時 2021-02-08 08:27:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 5,000 ms
コード長 75 bytes
コンパイル時間 381 ms
コンパイル使用メモリ 87,116 KB
実行使用メモリ 75,664 KB
最終ジャッジ日時 2023-09-18 13:57:44
合計ジャッジ時間 3,108 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,200 KB
testcase_01 AC 70 ms
71,184 KB
testcase_02 AC 70 ms
71,164 KB
testcase_03 AC 73 ms
75,412 KB
testcase_04 AC 73 ms
75,472 KB
testcase_05 AC 76 ms
75,496 KB
testcase_06 AC 75 ms
75,244 KB
testcase_07 AC 75 ms
75,664 KB
testcase_08 AC 78 ms
75,280 KB
testcase_09 AC 76 ms
75,296 KB
testcase_10 AC 76 ms
75,440 KB
testcase_11 AC 76 ms
75,248 KB
testcase_12 AC 75 ms
75,360 KB
testcase_13 AC 77 ms
75,500 KB
testcase_14 AC 76 ms
75,580 KB
testcase_15 AC 76 ms
75,500 KB
testcase_16 AC 75 ms
75,628 KB
testcase_17 AC 75 ms
75,440 KB
testcase_18 AC 77 ms
75,248 KB
testcase_19 AC 76 ms
75,312 KB
testcase_20 AC 76 ms
75,468 KB
testcase_21 AC 75 ms
75,632 KB
testcase_22 AC 76 ms
75,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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