EDIT: Thanks for all the help, his rating has been updated and solutions unskipped
Okay so this was my solution: https://codeforces.com/contest/1328/submission/74415216
And this is the other guy, whom I do not know at all. agrawalamritanshu82 https://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?