not getting output in ideone and compilation error in coding blocks ide.
plz check the above code.
Seq spoj problem doubt
Hi @saiKDr,
u r not taking input of t. because of that ur code is giving compilation error.
add cin>>t before entering while loop in main().
Hope dis helps.
thanks done ,such a silly mistake