Giving Run-time error. However my code gives correct output on Coding blocks IDE
Code link: https://ide.codingblocks.com/s/161419
Ugly Numbers problem
Rishav, pls change line no 10 of your code to,
for(int i=1;i<=10000000;i++)
and then try to submit the code…
Since, you arent replying anything, I am marking this doubt as resolved… You can reopen it if u still face any issues…