Ilya_Is2022's blog

By Ilya_Is2022, 17 months ago, translation, In English

Drum roll and EDITORIAL is ready! (⁠✷⁠‿⁠✷⁠) SRound #1

[problem:447021A]

Tutorial
Solution
Rate the problem

[problem: 447021B]

Tutorial
Solution
Rate the problem

[problem: 447021C]

Tutorial
Solution (C++)
Solution (Python)
Rate the problem

[problem: 447021D]

Tutorial
Solution
Rate the problem

[problem: 447021E]

Tutorial
Solution (Ilya_Is2022, C++)
Short solution (nekstas, Python)
Rate the problem

[problem: 447021F]

Tutorial
Solution
Rate the problem

[problem: 447021G]

Tutorial
Solution
Rate the problem

[problem: 447021H]

Tutorial
Code for finding numbers (C++)
Solution (C++)
Rate the problem
  • Vote: I like it
  • +6
  • Vote: I do not like it

| Write comment?
»
17 months ago, # |
Rev. 2   Vote: I like it +23 Vote: I do not like it

For D2, in testcase: $$$a=0, b=1,k=1$$$, or testcase $$$a=1, b=0,k=1$$$ your model solution is wrong. Note that in one of these cases, your model solution assumes it can put a leading zero in a natural number. But this is wrong.

One way of noticing this, is trying to plug these cases into the solution of D1 (note that any solution with these low values of a,b,k would fit in numbers $$$\leq 10000$$$.

  • »
    »
    17 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    The notification said that the inverse numbers can start from zero...

    Therefore, one of the models will output YES, and the other NO...

    • »
      »
      »
      17 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Yes, the reverse number can contain leading zeroes. But the decimal notation of natural numbers cannot contain leading zeroes, so that would mean reverse numbers, can't contain a 0 at the end.

»
17 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Amazing problems. Waiting for another round