add accepted cpp Longest Common Prefix