Showing segmentation fault

code- https://ide.codingblocks.com/s/282018

hello @anubhavb11
image
dont delare array of that large size.

declare it like this->
ll arr[n];