It is a 8-dimensional array of size 15x15x15x15x15x15x4x4 of short integers. Using the approximation "15=16", this means it takes up the same amount of space as 2^28 short integers. A short integer is often 2 bytes, so this takes up about 500MB of space. It will also take quite a while to fill. Whether it is "correct" or not, depends on how it is being used. Seems like a tough structure to usefully use in a GCJ question.
On 27 Apr 2012, at 14:31, Hiral nagda <[email protected]> wrote: > Its an large int type Table made!!! with an array > > On Fri, Apr 27, 2012 at 6:19 AM, Registered user <[email protected]> > wrote: > this is a c++ code : > any one has any idea about dis line of code , is it correct ???? and what it > is doing , declaring an array of what dimension ..... > short int dist[15][15][15][15][15][15][4][4]; > -- > You received this message because you are subscribed to the Google Groups > "Google 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 > http://groups.google.com/group/google-code?hl=en. > > > > -- > Hiral Nagda:) > -- > You received this message because you are subscribed to the Google Groups > "Google 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 > http://groups.google.com/group/google-code?hl=en. -- You received this message because you are subscribed to the Google Groups "Google 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 http://groups.google.com/group/google-code?hl=en.
