https://www.codechef.com/viewsolution/37402297
what is the problem with the code?Can anyone help?
It is not guaranteed that the activities will always be 4, or that their order will always be so.
Read the Input section carefully again.
https://www.codechef.com/viewsolution/37402445
i have updated my solution still it is giving wrong ans.Please help.
You did not correct it. Let me give you an example,
1
2 INDIAN
CONTEST_WON 2
CONTEST_HOSTED
Does your code work fine for this??