Link to my code : http://ideone.com/0C2MsB
@mehtaib :
- Read the problem statement, it says number of elements in list , t<=10^6. Hence declare array of 10^6 size.
- Print newline after each output (not before).
- Don’t post the entire code here, please provide a link as below.
- Here is your corrected code : http://ideone.com/sT7wdW
5 Likes