Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя cloudburster

Автор cloudburster, история, 4 года назад, По-английски

First of all, I am not sure if this is the right way to ask, but in case it is, I am stuck on a problem and don't have a clue how to solve it. I would like to get some hints :).

https://codeforces.me/problemset/problem/352/A

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Try breaking the problem down into two parts: figuring out if a number can be created to be divisible by 10, and seeing if the number can be divisible by 9. If both of these are true, then the number is also divisible by 90.

»
4 года назад, # |
  Проголосовать: нравится +2 Проголосовать: не нравится
Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Hint 6
Hint 7
Hint 8