Hi Samuel,

I've done my best to convert your format into the standard input format. I
may have made a mistake. Here's what I think the input looks like:
1
9
975975168 730620437 185934326 235968976 950919801 889728167 159021761
808742231 730369172
0 0 1 2 1 1 4 3 3

You can then download any successful submission and run it to see what the
results are. Mine gave:
Case #1: 4355985804

There's only one decision to be made in this problem: which of #5, #6, #8,
#9 should be taken first? That one will have its value ignored and
overridden by #1's value. It appears from your diagram that you're taking
#8, which is suboptimal: #9 is less fun, so you should take it first.

Best,
Bartholomew

On Sun, Apr 10, 2022 at 6:29 PM Samuel Jawahar <[email protected]> wrote:

> Hello plesse find the attached and let me know what you think
> My solution is correct or not
> For chain reaction problem
> Regards
> Samuel
>
> --
> -- You received this message because you are subscribed to the Google
> Groups Code Jam group. To post to this group, send email to
> [email protected]. To unsubscribe from this group, send email
> to [email protected]. For more options, visit this
> group at https://groups.google.com/d/forum/google-code?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/CAH5vfnOcDCzZ0HCnuFZk_-xB4D%2B3pRm81-BkwLih1ce%2BQhWePA%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-code/CAH5vfnOcDCzZ0HCnuFZk_-xB4D%2B3pRm81-BkwLih1ce%2BQhWePA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- You received this message because you are subscribed to the Google Groups 
Code Jam group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email to 
[email protected]. For more options, visit this group at 
https://groups.google.com/d/forum/google-code?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAHaiWHPofzyoDPG9sUy7%2BPdiu7X%3DnuEVfH-w7wmVL2RPyiuM7w%40mail.gmail.com.

Reply via email to