When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

RNAB100's blog

By RNAB100, history, 3 years ago, In English

while solving problems , I discovered that sometimes I can't implement my idea in code and for this reason my rating is not improving also ....what should I do ?

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

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Read jiangly 's code. (I don't dare to tag him.)

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

one suggestion is: when you find a problem that you try but can't implement, search other people code for the same problem and try to understand how they solved it, so when you find other problem like that you will at least have some idea to how implement it.

»
3 years ago, # |
  Vote: I like it +10 Vote: I do not like it

When you are saying "my idea", what exactly do you mean? For example, if your idea was something very vague like "this appears to be a DP problem" and later you read in the editorial that it was indeed a DP problem, then you can't say that you had the right idea. Was your idea actually detailed enough to start implementing it or are you basically deceiving yourself?

Or do you have a correct idea (later confirmed by the editorial), attempt to implement it, get wrong answers and then fail to debug your code?