I have written this program, and tried several test cases to get correct answer. But when I submitted, I got WA. So may anyone who have got AC give me some test cases (just a few is okay) for me to check? Thanks.
I have used "division by zero" method, and I can conclude that the strings a and b contain ONLY LOWERCASE character . Also, there can be blank line as a or b .
However, after making corresponding changes to my program, I am still getting WA. I use the method of counting frequency, stated by IIUC ...