Please read the new rule regarding the restriction on the use of AI tools. ×

kg25's blog

By kg25, history, 4 years ago, In English

Yesterday , in problem B of Codeforces Round #638(Div.2) ,I printed the size of array as max*k where max is the frequency of most repetitive element in input array, today I just changed my code to n*k so it was accepted,can anyone please tell me , is max*k right or wrong ? Thank you for the help in advance

Full text and comments »

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