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

×

# (HARD TO DETECT)What's wrong in my TEAMMATE submission?

 1 Link of codechef submission : https://www.codechef.com/viewsolution/20852630 Link if you directly want to fork in online compiler : https://ideone.com/NN1rqk Please explain where are the things going wrong. asked 19 Oct '18, 17:29 1★geek0 11●2 accept rate: 0%

One Answer:
 0 I think the problem is with how you're counting groups of 2, specifically the way you're calculating 2^n. It's not very clear. If you explained what you calculated a little better, it would help. We want to calculate $\frac{(2n)!}{2^n n!}$ Here is my code. It might be helpful to you. answered 19 Oct '18, 21:30 58●5 accept rate: 5% I think the problem is with something else, see this groups of tow works fine... https://ideone.com/apGeHx (20 Oct '18, 13:20) geek01★
 toggle preview community wiki:
Preview

### Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• link:[text](http://url.com/ "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:

×483
×29
×15

question asked: 19 Oct '18, 17:29

question was seen: 292 times

last updated: 20 Oct '18, 13:20