We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- All Contests
- HourRank 6
- Kitty and Katty
- Discussions
Kitty and Katty
Kitty and Katty
Sort by
recency
|
10 Discussions
|
Please Login in order to post a comment
can somebody show me an example code. i have no clue
AC in one go !!
There is an hole of explanation of the question. For example every time bigger number subtracted by smaller number not vice versa. And and the first test result not always Kitty Katty, some times the result Kitty Kitty
In Java modulo operation -1 % 3 = -1 , One of the answer said that -1 % 3 =2 But java doesn't calculate like that. How can find result of 2 in -1 % 3 Here the sample java program I run: class Remainder {
One more question, let assume I choose xth number of block as A and yth number of Block as B, should the new block ( the block which number A-B) put to the location of A? Let me explain I choose 2nd (as A) and 5th (as B) block the number of new block would be (A - B) -3 should I set this block in the position of A?