No.8086 Patriotism (2)
問題文最終更新日: 2026-03-23 02:15:32
English (AI translation)
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 April Fool Contest 2021
(順位表)
の他の問題:
Notes
yukicoder
Input
In this problem, $T$ test cases are given.The $i$-th test case consists of $\alpha_i$ and $\beta_i$.
$T$ $\alpha_1\ \beta_1$ $\ldots$ $\alpha_T\ \beta_T$
$1 \le T \le 9999$
$0 \le \alpha_i \le 88$
$0 \le \beta_i \le 100$
All given values are decimal integers satisfying the above constraints.
Output
$\sigma_1$ $\ldots$ $\sigma_T$
$0 \le \sigma_i \le 3\times 255$
Each value must be an integer.
On the $i$-th line, output the answer to test case $i$ as a decimal integer.
For each integer value, the output is considered correct if its absolute error from the answer is at most 96.
Sample
Sample 1
Input
5 4 50 17 17 50 34 60 80 88 100
Output
616 326 565 205 765
The sample output may contain errors.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。