結果
| 問題 |
No.51 やる気の問題
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-12-02 15:38:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 44 ms / 5,000 ms |
| コード長 | 240 bytes |
| コンパイル時間 | 304 ms |
| コンパイル使用メモリ | 82,568 KB |
| 実行使用メモリ | 59,508 KB |
| 最終ジャッジ日時 | 2024-09-13 10:13:48 |
| 合計ジャッジ時間 | 2,099 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
# coding: utf-8
# Your code here!
import sys
read = sys.stdin.read
readline = sys.stdin.readline
#n = int(readline())
w, = map(int,readline().split())
d, = map(int,readline().split())
for i in range(d-1):
w -= w//((d-i)*(d-i))
print(w)
convexineq