code- https://ide.codingblocks.com/s/282018
hello @anubhavb11 dont delare array of that large size.
declare it like this-> ll arr[n];