Here are two of my submissions, exactly same, one in C and the other in C++. The submission in C++ gives an AC verdict while the submission in C gives a WA verdict. The code was originally written in C. Can anyone please point out the error? I'm unable to find the problem because the two submissions are EXACTLY SAME. (only iostream line was different)
Thanks!