Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**kid****Member**- Registered: 2014-05-05
- Posts: 2

*Last edited by kid (2014-05-06 22:16:13)*

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

Hi;

You have already posted this on at least 2 other forums that I am a member of.

They have identified it as homework. Since most of them are professors or teachers they should know. Perhaps if you would show what you have already done then someone could add a bit more towards a full solution.

Update: I have found this problem on a site which has posed it as an ongoing contest.

http://www.codechef.com/MAY14/problems/SEAGM

Is it a contest problem? If so, you will have to do that one by yourself and not with the help of others.

**In mathematics, you don't understand things. You just get used to them.**

**If it ain't broke, fix it until it is.**

Offline

Lock this topic, maybe?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'But our love is like the wind. I can't see it but I can feel it.' -A Walk to remember

**Online**

**kid****Member**- Registered: 2014-05-05
- Posts: 2

Somehow games are looking similar but questions asked are whole lot different.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

Somehow games are looking similar but questions asked are whole lot different.

You are asking for the optimal strategy, the contest is asking for the optimal strategy. How is that different?

You have done one line of the program, maybe. What do you want?

**In mathematics, you don't understand things. You just get used to them.**

**If it ain't broke, fix it until it is.**

Offline

Pages: **1**