NguyenDangQuan's blog

By NguyenDangQuan, history, 5 years ago, In English

Hi, I'm now crazing with memset() and fill() or fill_n(), in the Problem D Div3 Round #636, i used fill_n() and it was TLE, so I changed to memset() and accepted. I dont't understand the way memset work. Can you explain me ? Thank you

*In addition, sometimes i use memset but it doesn't work well Here are my submissions: TLE: https://mirror.codeforces.com/contest/1343/submission/77570494 Accepted: https://mirror.codeforces.com/contest/1343/submission/77570825

Full text and comments »

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