Re: [code jam] Code Jam 2021 - Round 1A - Problem B - Magic number 3025

2021-04-10 Thread Luke Pebody
3025 is 31+499x6 and 31*499^6 is just lower than 499*10^15, while 37*499^6
is more than it.

On Sat, 10 Apr 2021, 10:55 Luke Pebody,  wrote:

> The reason the number is not actually as high as 29940 is because 499^60
> is WAY larger than 2^60.
>
>
>
> On Sat, 10 Apr 2021, 10:47 priyank doshi, 
> wrote:
>
>>
>> There is a magic number 3025! In problem analysis, it is mentioned that
>> the actual maximum possible sum of the second group numbers is 3025
>> under the problem's constraint
>> Now I can't figure out what is the logic behind this. I understood we
>> need to see numbers upto X - 29940 and X but can someone explain reasons
>> behind 3025 and how it is derived.
>>
>> --
>> -- You received this message because you are subscribed to the Google
>> Groups Code Jam group. To post to this group, send email to
>> google-code@googlegroups.com. To unsubscribe from this group, send email
>> to google-code+unsubscr...@googlegroups.com. 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 google-code+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-code/7b8fd0c8-931d-4007-b485-7db39ce8a695n%40googlegroups.com
>> 
>> .
>>
>

-- 
-- You received this message because you are subscribed to the Google Groups 
Code Jam group. To post to this group, send email to 
google-code@googlegroups.com. To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com. 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 google-code+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAECKw-PetaM0iBr%2B7ZcGkoaoZ1DzWw2NVozdBf1rZBZZBu0Kxw%40mail.gmail.com.


Re: [code jam] Code Jam 2021 - Round 1A - Problem B - Magic number 3025

2021-04-10 Thread Luke Pebody
The reason the number is not actually as high as 29940 is because 499^60 is
WAY larger than 2^60.



On Sat, 10 Apr 2021, 10:47 priyank doshi, 
wrote:

>
> There is a magic number 3025! In problem analysis, it is mentioned that
> the actual maximum possible sum of the second group numbers is 3025 under
> the problem's constraint
> Now I can't figure out what is the logic behind this. I understood we need
> to see numbers upto X - 29940 and X but can someone explain reasons
> behind 3025 and how it is derived.
>
> --
> -- You received this message because you are subscribed to the Google
> Groups Code Jam group. To post to this group, send email to
> google-code@googlegroups.com. To unsubscribe from this group, send email
> to google-code+unsubscr...@googlegroups.com. 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 google-code+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/7b8fd0c8-931d-4007-b485-7db39ce8a695n%40googlegroups.com
> 
> .
>

-- 
-- You received this message because you are subscribed to the Google Groups 
Code Jam group. To post to this group, send email to 
google-code@googlegroups.com. To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com. 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 google-code+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAECKw-PFotqPf4Y_DDpL87gFrQgiL52bB5v3cUCPcTC6N%3DB8%2Bw%40mail.gmail.com.


[code jam] Code Jam 2021 - Round 1A - Problem B - Magic number 3025

2021-04-10 Thread priyank doshi

There is a magic number 3025! In problem analysis, it is mentioned that
the actual maximum possible sum of the second group numbers is 3025 under 
the problem's constraint
Now I can't figure out what is the logic behind this. I understood we need 
to see numbers upto X - 29940 and X but can someone explain reasons behind 
3025 and how it is derived.

-- 
-- You received this message because you are subscribed to the Google Groups 
Code Jam group. To post to this group, send email to 
google-code@googlegroups.com. To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com. 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 google-code+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/7b8fd0c8-931d-4007-b485-7db39ce8a695n%40googlegroups.com.