結果
| 問題 | No.51 やる気の問題 | 
| コンテスト | |
| ユーザー |  brthyyjp | 
| 提出日時 | 2021-05-14 21:53:32 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 45 ms / 5,000 ms | 
| コード長 | 120 bytes | 
| コンパイル時間 | 213 ms | 
| コンパイル使用メモリ | 82,688 KB | 
| 実行使用メモリ | 58,496 KB | 
| 最終ジャッジ日時 | 2024-10-02 01:08:05 | 
| 合計ジャッジ時間 | 2,200 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 20 | 
ソースコード
w = int(input())
d = int(input())
for i in range(d, 0, -1):
    t = int(w/(i**2))
    #print(d, t)
    w -= t
print(t)
            
            
            
        