Link to my code : 0C2MsB - Online C++0x Compiler & Debugging Tool - Ideone.com
@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 : sT7wdW - Online C++0x Compiler & Debugging Tool - Ideone.com
6 Likes