MdoingIt's blog

By MdoingIt, history, 5 hours ago, In English

Question — https://mirror.codeforces.com/problemset/problem/161/D

Submission — https://mirror.codeforces.com/contest/161/submission/278555376

IMO, it should pass the time constraints. Am I missing something?

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
8 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

try to use int array. not long vector