UNBEATEN_CODER's blog

By UNBEATEN_CODER, history, 7 years ago, In English

Can someone help me with this problem I am unable to figure out my mistake.. Question:http://www.spoj.com/problems/FREQUENT/ Solution:https://ideone.com/QFpwMT

  • Vote: I like it
  • -10
  • Vote: I do not like it

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

Read the input section carefully! It says that input consists of several test cases. You haven't taken this fact into consideration.
Changed variant of code : link

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

Thanks! Found my mistake!