Manurung's blog

By Manurung, history, 9 years ago, In English

Just wondering, Why Codeforces team doesn't setup the https for the site.

An apple to apple sites like Topcoder,Codechef, Hackerrank setup https on their site. Isn't it good if codeforces also setup HTTPS protocol?

Full text and comments »

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

By Manurung, 10 years ago, In English

Hello everyone!

Google APAC 2015 — Round C will be held 2 hours after this post, the duration is 3 hours.

Good luck and have fun, and Please discuss about the problem here.

Full text and comments »

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

By Manurung, 10 years ago, In English

First i want to say sorry because i make a new post for my question, and not make it in the comment of the editorial codeforces round FF.

I need help with 446A. Here's my code: http://codeforces.me/contest/447/submission/7148685

My approach is the following.

- Count the length of the sequence (left & right) for each index i until (n-1), while i start 
  from 0 and n is the number of element.
- i know that the result of the sequence would be like this (something that increasing) + 
  element that can be changed + (something that increasing).
- After that i just count the length of the sequence for each index.

I get WA on the 5th test, it's too big for me to analyse it (I can't even get access to the full example), nor I can get access to the full test data. Would this approach satisfy the time limits, and where is my mistake?

Full text and comments »

Tags dp
  • Vote: I like it
  • -2
  • Vote: I do not like it

By Manurung, 11 years ago, In English

Anybody know the idea behind this problem?

I am a newbie in DP, help me.

This is the problem : problem

Thanks fellow.

Full text and comments »

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