問題一覧 > 通常問題

No.445 Score

レベル : / AI推定難易度 : 124 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 256 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 455
作問者 : 紙ぺーぱー / テスター : りあん
お気に入りにしたユーザー ProblemId : 1243 / 自分の提出
問題文最終更新日: 2026-10-12 03:59:20
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 154 (順位表) の他の問題:

Problem Statement

On yurufuWAcoder, the score $f(N,K)$ obtained when you are the $K$-th to solve a problem with $N$ stars is defined by the following formula.
$$ f(N,K) = 50 \times N + \left \lfloor \frac{ 50 \times N }{ 0.8+ 0.2×K} \right \rfloor $$ Here, $\lfloor x \rfloor$ denotes $x$ with its fractional part truncated.
Given $2$ natural numbers $A,B$, output $f(A,B)$.

Input

$A\;B$

  • $1 \leq A \leq 6$
  • $1 \leq B \leq 10^3$

Output

Output the answer on $1$ line.

Sample

Sample 1
Input
1 1
Output
100

Sample 2
Input
2 31
Output
114

Sample 3
Input
6 3
Output
514

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。