Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

filo's blog

By filo, 10 years ago, In English

Hello all,the title says everything,cannot figure out what's wrong,if you've any advices post in comments please.Thanks for your time. Link to problem. Link to my code.

UPDATE: got AC

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

»
10 years ago, # |
  Vote: I like it +3 Vote: I do not like it

You can calculate C(n,k) in O(1).

  • »
    »
    10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    wow that was stupid of me,thanks got AC.