Hello Codeforces!↵
↵
Undoubtedly, you should check editorial if you can't cope with the task for a long time. But I'm wondering how important is reading it after you solved some problem yourself. As for me, I usually look through editorial, if I couldn't manage with the task in ~30-40 minutes or if I wrote some heavy implementation to check if there was some easier approach. In 70% of cases my solution is very like the author's one, but sometimes there is a pretty different idea, and it's great to learn some other methods which can be used in this task.↵
↵
What's your opinion about it?
↵
Undoubtedly, you should check editorial if you can't cope with the task for a long time. But I'm wondering how important is reading it after you solved some problem yourself. As for me, I usually look through editorial, if I couldn't manage with the task in ~30-40 minutes or if I wrote some heavy implementation to check if there was some easier approach. In 70% of cases my solution is very like the author's one, but sometimes there is a pretty different idea, and it's great to learn some other methods which can be used in this task.↵
↵
What's your opinion about it?