having few doubts in code !!!
ques:- https://online.codingblocks.com/app/player/189104/content/180087/7601/lecture
code:- https://ide.codingblocks.com/s/476614
when I change the global variable to local (inside the main) the code doesn’t work it only take t as input and then terminate
and also case #2 output is wrong
and meaning of some of these lines below
define IOS ios::sync_with_studio(0);cin.tie(NULL); //here might get error
const int N = 1e5 + 5;