Why is this https://ideone.com/gCdcs4 giving me runtime error but this does not https://ideone.com/14lMhi for http://codeforces.net/problemset/problem/779/C?
I have just changed equality sign. I have figured out the input but not aware of why it is happening so?