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

×

# Weak test cases in HP18(LUCKY NUMBER GAME) in JAN19B..

 0 In January challenge, In lucky number game, In subtask 1 i.e a=b I have just printed the result i.e "BOB" but in case if there are no numbers in the given test case i.e (any number) divisible by 'a' then the result will be "ALICE". Hence we can say that the test cases are weak asked 14 Jan, 16:51 19●3 accept rate: 0%

 0 I guess we need to focus on the term "finite number of turns", which is clearly mentioned in the question. I guess by this they meant that at least one turn is played , i.e., there is at least one number which is divisible by a. Hence, BOB is the winner in subtask 1 when a=b. answered 14 Jan, 17:00 137●7 accept rate: 10% Finite means 0 is also included (14 Jan, 17:02) How can you be so sure? I have read at some websites where it says that finite is a non zero number. Anyways I guess the author is the only one who can answer this question. @vijju123 @mgch @admin (14 Jan, 17:09) I have also seen in some websites saying that zero is finite.according to you if zero is not finite then it should be infinite right? Just think of it (14 Jan, 17:19) In that case what about negative numbers?? Are they infinte or finite. Also according to me finite moves here means atleast one move. Lets wait for the author to answer this question. (14 Jan, 18:14)
 0 I think 0 is a finite number. Because a finite number is a number that has a number greater than and smaller than that. Finite basically means bounded. So, I think 0 is a finite number. This definition also solves the negative number question. answered 14 Jan, 18:50 3★deadcool 0 accept rate: 0% Yes 0 is a finite number (14 Jan, 21:07)
 toggle preview community wiki:
Preview

### Follow this question

By Email:

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

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×1,427
×161

question asked: 14 Jan, 16:51

question was seen: 274 times

last updated: 14 Jan, 21:07