UNITGCD - Video Editorial

Hello guys,
Here is the link for video solution :- UNITGCD
The problem was pretty easy but you have to optimize your code to pass 2nd subtask.

Thank you

Contest is extended only for FCTRE and ANSLEAK. Submission for another problems is not allowed

There were no optimisations required, however I did observe that printing endl requires more time than ā€œ\nā€ which in turn requires more time than ā€˜\nā€™, people printing endl did get TLE in few subtasks. I am sorry if you got TLE due to this reason :sweat_smile:

Yeah I was talking about this optimization :sweat_smile: