結果
問題 |
No.51 やる気の問題
|
ユーザー |
|
提出日時 | 2023-12-29 16:18:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 48 ms / 5,000 ms |
コード長 | 229 bytes |
コンパイル時間 | 126 ms |
コンパイル使用メモリ | 82,252 KB |
実行使用メモリ | 62,872 KB |
最終ジャッジ日時 | 2024-09-27 16:14:48 |
合計ジャッジ時間 | 1,944 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline W = int(input()) D = int(input()) for i in range(D-1): W = W - (W//(D-i)**2) print(W)