SPOJ Problem CPCRC1c

This is my

[1] to the problem [cpcrc1c][2], i'm getting WA, please help me debug

  [1]: http://ideone.com/jAMGGM
  [2]: http://www.spoj.com/problems/CPCRC1C/

Is it just me or the link is…kind of not working :confused: (I really have no clue if its college net or something else…lol XD)

link is working :expressionless:

IDK, I am still stuck with a blank page when I click that link :confused:

http://ideone.com/jAMGGM check this, sorry the link was private… :expressionless: I’ve updated it

I debugged it, val was overflowing :frowning: