×

# Chef and Modulo Game

 -1 Can anyone tell in the given test cases like 4 4 .why we didn't use pair (1,2,1)or(2,1,1),etc .As from these ones we get M=2 rather than M=1; asked 04 Jan, 21:52 -3●1 accept rate: 0% Don't ask questions about on going contest on discuss... If you need clarification then Ask in comments section below problem statement.. you query will be answered if question is relevant (05 Jan, 11:08)

 1 I solved this question for 100 points, however I had a wrong calculation on an edge case. I think the test cases are weak. As I tested,the wrong calculation on an edge case is included in the question. I think the test cases may be wrong. I don't want to explain further because it may suggest solution to other people so I would like to talk to the author by email. If you can please email me at chauhain@buffalo.edu answered 05 Jan, 21:05 4★chauhain 12●2 accept rate: 0% Let's talk on codeforces personal messages ? My handle smit_mandavia (06 Jan, 08:22) Hi, please discard my comment above, I was actually overthinking and realize that everything runs perfect :) Sorry for the question :) (06 Jan, 14:54) chauhain4★ Okay np... (06 Jan, 18:45) *Don't forget to mention that you are problem writer of this problem. (10 Jan, 00:39) Yes I am the author of this problem (11 Jan, 09:04)
 0 for n=4 and p=4 if you use any of the pair(1,2,1) or(2,1,1) the value of M you will get is 0 not 2 answered 10 Jan, 00:41 1 accept rate: 0%
 toggle preview community wiki:
Preview

By Email:

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:

×200