All triplets are not printing

@abhishek8181
there was a mistake while initializing j and k;

not working after your alterations

https://online.codingblocks.com/app/player/63129/content/97891/4821/code-challenge

the code i sent you earlier passed all the test cases on https://hack.codingblocks.com/app/contests/1205/195/problem
Since there can be multiple same numbers you can try this https://ide.codingblocks.com/s/238368

Did it work???..

yes it worked thank u