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


The Game of Chess(CDWRS05) (CodeWars 2013 - By BITS, Pilani )

The link to this question is here

The link to my solution is here

anyone help me where my logic is wrong

asked 02 Oct '13, 20:11

maheshwar44's gravatar image

accept rate: 33%

ur logic is correct but the data type u used was slightly wrong!!!

instead of long long u should have used long long unsigned as the range is upto 10^19....see this link..see the value of x that is in the output...hope this helps...:)


answered 02 Oct '13, 20:23

kunal361's gravatar image

accept rate: 21%

thank you, got it

(02 Oct '13, 20:30) maheshwar443★
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: 02 Oct '13, 20:11

question was seen: 1,080 times

last updated: 02 Oct '13, 20:30