Activity selection problem

in this code this passes all the test cases in hackers block
but it will not get accepted on spoj platform.

hi @ankit_verma please share the correct code.
Also, activity selection problem is given under the name Busyman, make sure you are submitting for the correct question

i know that already.i have submitted according to that

@ankit_verma as i said before this is not the code for activity selection problem, share the correct code


this is the link of the code

@ankit_verma corrected code: https://ide.codingblocks.com/s/322261

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.