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: 92,930

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.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

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'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**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: 92,930

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.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

Pages: **1**