L_H's blog

By L_H, history, 9 years ago, In English

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

Tags c++
  • Vote: I like it
  • -1
  • Vote: I do not like it

| Write comment?
»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

No, you get

lemilemilemilemilemilemizlozloaaacgjjn

in both places while the correct answer is

lemilemilemilemizlozloaaaceegjjmn

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I think you are getting "lemilemilemilemilemilemizlozloaaacgjjn" as output on both.