The same problem occurs again! not running in this environment but running in code blocks

please reply i want to submit ti

its not working and the entire ocde is corect

@Varun_a19

  1. k in line no. 19 should start with k=(j+1) not (i+j+1)
  2. You have missed one space after first comma while printing ans;

no its not working ,i have applied the changes

@Varun_a19
I already checked it. All testcases passed. Have you submitted the code? I am not able to see your updated code

@Varun_a19
Ok I checked your updated code again, now you’re giving 2 spaces after 1st comma. Please check. You have to give only 1 space

@Varun_a19
Please mark this doubt as resolved. You submitted it successfully.