Basecamp
    Home
    Problems
    Contests
    Courses
    Rating
    Posts
    Store
    Discord
MathModel
Sign in
Hasan Saleh
MathModel
Candidate
Palestine
Palestine
Joined Jan 24, 2025
Achievements (1)
Problem Solver
OverviewRatingAchievementsPosts

Rating
1658
Problems168
Submissions222

Rating evolution

Dec
2020
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2021
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2022
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2023
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2024
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
MathModel solved problem Remainder (#953) on first attempt2 days ago
MathModel solved problem Perfect square (#8877) on first attempt2 days ago
MathModel solved problem GCD and LCM (#11606) on first attempt2 days ago
MathModel solved problem Modular Exponentiation (#273) on first attempt2 days ago
MathModel solved problem Multiplication (#272) on first attempt2 days ago
MathModel solved problem Factorial! (#271) on 5 attempt2 days ago
MathModel solved problem Product (#28) on first attempt2 days ago
MathModel left a comment in discussion Kaosar And Diagonals (#12260)4 days ago

Pikori Sorry for that , Shouldn't happen next time 🤝

MathModel has joined contest Educational Round #47 days ago
MathModel solved problem Kaosar And Game (#12261) on first attempt7 days ago
MathModel solved problem Kaosar And Diagonals (#12260) on first attempt7 days ago
MathModel solved problem Min Sum Construction (#12262) on first attempt7 days ago
MathModel solved problem Collatz Beauty (#12259) on first attempt7 days ago
MathModel solved problem Kaosar and Triples (#12263) on first attempt7 days ago
MathModel has joined contest Weekend Practice #38 days ago
MathModel solved problem Alphabetic Graph (#12258) on first attempt14 days ago
MathModel solved problem Hard Arithemetic (#12257) on first attempt14 days ago
MathModel solved problem Permutation of Subarrays and Queries (#12256) on first attempt14 days ago
MathModel solved problem Easy Array Counting (#12254) on first attempt14 days ago
MathModel solved problem Close Combat (#12255) on first attempt14 days ago
MathModel left a comment in discussion Count Transformations (#12250)15 days ago

MaxymDvali_2012

We use choices[i] to represent the choices for digit i , let's consider digit-by-digit

0 : we only can have it as 0 so we've only single choice

1 : we can multiply by 2 three times then we've {1,2,4,8} which means four choices.

2 : we can multiply by 2 two times and divide once then we've {1,2,4,8} which means four choices.

3 : we can multiply by 2 once then {3,6} which means we've two choices

4 : we can multiply by 2 once and divide twice then we've {1,2,4,8} which means four choices.

5 : we only have it as a choice

6 : we can divide once by 2 then we've {6,3} which means two choices

7 : we only have it as a choice

8 : we can divide three times

9 : we only have it as a choice

putting it all gives

choices=[1,4,4,2,4,1,2,1,4,1]
MathModel solved problem Number of maximums (#7832) on first attempt20 days ago
MathModel has joined contest Educational Round #320 days ago
MathModel solved problem Minimum Increasing Cycle (#12253) on 2 attempt21 days ago
MathModel solved problem Tree ! (#12252) on first attempt21 days ago