My code ran well on my compiler and on ideone.com but I got Run time error(NZEC). Can you guys help me ? I wrote it in Pascal. Here is my code : http://ideone.com/x49wZx