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

Автор playinwithfire, история, 19 месяцев назад, По-английски

I copied the code for the question 1811E from the gfg site of an almost similar question,and had to do minor change as per 1811E, the source code was published way before the contest. Im attaching the link of the gfg code i used for my soln.

https://www.geeksforgeeks.org/finding-the-nth-term-in-a-sequence-formed-by-removing-digit-k-from-natural-numbers/amp/

Thanks

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

»
19 месяцев назад, # |
  Проголосовать: нравится -42 Проголосовать: не нравится

You can use algorithm, but you can't copy code...

You shouldn't check other websites for solutions, rather should write your own solutions.

  • »
    »
    19 месяцев назад, # ^ |
      Проголосовать: нравится +5 Проголосовать: не нравится

    thanks a lot, I didnt know we had to write our own code.

    I was looking for hints on these type(digit dp) of questions, this question in itself turned out to be a standard question of digit dp, and seeing the number of accepted solns by newbies and pupils of this tough question during contest, its more than visible that I am not alone who did that question this way

    Its stated in the rules if I look from a source which existed before the contest even started, I can look it up from there, I dont think I broke any rules

  • »
    »
    19 месяцев назад, # ^ |
      Проголосовать: нравится +24 Проголосовать: не нравится

    You actually can copy code (and you can check other websites).

    I did it at least twice: 140484810, 197118210