I was trying a problem and wrote a code that passed all the custom test results but was marked wrong by CC when I checked for the successful submissions I found was entirely similar.
Wrong one: CodeChef: Practical coding for everyone
Right one: CodeChef: Practical coding for everyone
Please have a look.