Is there any difference between SKMP and ALLSUB?
SKMP link : CodeChef: Practical coding for everyone
ALLSUB link : CodeChef: Practical coding for everyone
I copy pasted my own code from ALLSUB from a prev content into SKMP and all I got is 100 pts
4 Likes
But when I copy-pasted the SKMP code to ALLSUB it gave WA.
SKMP link
ALLSUB link
Here are the differences -
- The variable names have changed. R became S here and S became P.
- Constraints for Subtask 1 have changed.
- Marks distribution between the two subtasks have changed (A very big difference indeed).
- SKMP guarantees that an answer always exists while ALLSUB does not.
- A solution for ALLSUB will surely pass SKMP but the reverse may not be true because of the 4th point.
3 Likes
Just change input sequence of 2 string, you will surely get an AC
1 Like
Ya I forgot to mention that.
1 Like
The only difference is that we need to check the condition for impossibility. Rest is same.
1 Like
admin
9
It is very unfortunate that none of us caught this earlier. We apologize for this oversight. But the contest remains rated as it is.
2 Likes