I am trying to solve http://codeforces.net/problemset/problem/551/B but when I submit the solution I get wrong answer...so to check again I went to ideone and checked the output for that test case and I get correct answer any suggestions?
Link to codeforces solution http://codeforces.net/contest/551/submission/11634884
Link to ideone solution http://ideone.com/3xgM8v
No, you get
lemilemilemilemilemilemizlozloaaacgjjn
in both places while the correct answer is
lemilemilemilemizlozloaaaceegjjmn
I think you are getting "lemilemilemilemilemilemizlozloaaacgjjn" as output on both.