Okay so this was my solution: https://mirror.codeforces.com/contest/1328/submission/74415216
And this is the other guy, whom I do not know at all. https://mirror.codeforces.com/contest/1328/submission/74481132
Our solutions do match almost exactly the same, however neither do I use Ideone or any platform where my code can be leaked and neither have I given my solution to that person. It seems like a coincidence since the solution was simple that it matched almost exactly. Now I do kind of feel bad for that guy since his solutions got skipped due to this, what can I do in this case?