My answere is not getting submitted

it is showing submisssion unjudged

It’s because of special character in your program

​
bool comp(act a,act b){
    if(a.end==b.end) return a.beg<b.beg;
    return a.end<b.end;
}
​

Change them and then submit to get it judged.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.