You are not logged in. Please login at to post your questions!


Help needed with codeforces problem?

I know how to solve this problem Perfect Number in a brute force way but the tags on that page show binary search and DP as well. I am curious to know how this problem can be solved using Binary search and DP. Can someone help me with this please?

asked 17 Apr '18, 17:37

chari407's gravatar image

accept rate: 0%

Read the comments here: They discussed the binary search and other solutions to the problem. Tell me if you are not able to understand, then I'll explain the soultion here

(18 Apr '18, 12:42) fr4nkesti3n4★

Can someone help please??


answered 18 Apr '18, 08:52

chari407's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 17 Apr '18, 17:37

question was seen: 135 times

last updated: 18 Apr '18, 12:42