Regarding the complilation

the code is not compiling but on an online compiler it is compiling and running

@aslesha.j7
hello aslesha,
then probably the issue is with ur ide.
update ur ide and then try

how to update my ide

please check I have collaboration mode on

@aslesha.j7
which ide it is?

i can only see ur code in collabration mode

plz check your mail how can I tell my ide

I didnt get any email
I am asking name of ide like codeblocks ,devc++ .
what u are using? just tell me the name

im using ide of codeblocks

@aslesha.j7
download and install latest version from here http://www.codeblocks.org/downloads/26
and then try

sir the code editor which have been provided along with the problem it is not working

@aslesha.j7
aslesha pls save ur code on -> https://ide.codingblocks.com/ and share the link.

I think there is some issue in ur code

issue in code regarding the logic?

@aslesha.j7
yeah …

could you please help me Im not able to get it where Im wrong and what to do

@aslesha.j7
first check this code -> https://ide.codingblocks.com/s/197452

a)first read number of test case (say t)
b) then iterate for t times
b.1) in each iteration read number of elements in array ( say n)
b.2) read array (n numbers)
b.3) call next_permuation function on array
b.4) print the resulting array

i saw the code what is the difference i have used arrays and it has used vector

@aslesha.j7
no difference ,i will work with array as well .are u doing same ?

i dont have ur code

yes, kindle see my code in the collaboration mode

@aslesha.j7
can u please save ur code on https://ide.codingblocks.com/ and then share the link.

i am not able to see any code in code pair