String permutation code

my code for string permutation says no even if the two strings are permutations of each other…plz hel

https://ide.codingblocks.com/#/s/13645

Yarr, you have written cin>>s1>>s1 instead of cin>>s1>>s2 , then how will you get ur answer .