Please read the new rule regarding the restriction on the use of AI tools. ×

playinwithfire's blog

By playinwithfire, history, 18 months ago, In English

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

  • Vote: I like it
  • +5
  • Vote: I do not like it

»
18 months ago, # |
  Vote: I like it -42 Vote: I do not like it

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

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

  • »
    »
    18 months ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    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

  • »
    »
    18 months ago, # ^ |
      Vote: I like it +24 Vote: I do not like it

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

    I did it at least twice: 140484810, 197118210