MathDB
Problems
Contests
National and Regional Contests
USA Contests
USA - College-Hosted Events
BMT Problems
2022 BMT
27
27
Part of
2022 BMT
Problems
(1)
BMT 2022 Guts #27
Source:
8/31/2023
Submit a positive integer
n
n
n
less than
1
0
5
10^5
1
0
5
. Let the sum of the valid submissions from all teams to this question be
S
S
S
. If you submit an invalid answer, you will receive
0
0
0
points. Otherwise, your score will be
max
(
0
,
⌊
25
−
∣
S
′
−
n
∣
10
⌋
)
\max \left(0,\lfloor 25 - \frac{|S'-n|}{10} \rfloor \right)
max
(
0
,
⌊
25
−
10
∣
S
′
−
n
∣
⌋
)
, where
S
′
S'
S
′
is the sum of the squares of the digits of
S
S
S
.
combinatorics