| 
 | 
back to boardWhat is wrong with my code ? First, i sent my solution in Pascal and i got WA2 and then i wrote it in C++ and i got Accepted. I want to know my mistake in my Pascal solution.   Here's my code in Pascal :   [code deleted]   Edited by moderator 17.11.2019 18:35 Re: What is wrong with my code ?          readln(n);  You should read, not readln.  |  
  | 
|