Spoj lastdig wa

Don’t Know why I’m getting WA. Please suggest some changes. Thanks in Advance :slight_smile:

Here is the link to my code.

http://pastebin.com/Pi47y1Te

//