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


Logic behind SPOJ ASSIGN problem

I am trying to understand the solution here.I am able to understand the bitmask,but unable to understand the logic.Any one please explain the logic.

asked 22 Jan '16, 19:42

pallesai's gravatar image

accept rate: 17%

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: 22 Jan '16, 19:42

question was seen: 1,033 times

last updated: 22 Jan '16, 19:42