[gcj] Re: Query

2009-09-06 Thread Bartholomew Furrow
We'll have to ask for your patience here -- we're working our way through a
large number of cheating claims.  Plus it's a weekend, so a lot of the team
is recovering from a very hectic week. :-)  Rest assured that if you have 33
points (and didn't cheat, of course), you qualified.

Regards,
Bartholomew

On Sun, Sep 6, 2009 at 8:13 PM, Dhruva Sagar  wrote:

> Hi,
>
> I understand that this query has been raised time and again, even I have
> asked before.
> But it is 7th today and its been 5 days since the contest, and I haven't
> seen any change on the main site indicating my qualification or otherwise.
>
> My rank is shown as 6000 with a score of 33 and a lot of people have told
> me that this should imply that I have qualified, but I am surprised as to
> why is there no indication on the codejam main site.
>
> Thanks & Regards,
> Dhruva Sagar.
>
>
> Mike Ditka  - 
> "If God had wanted man to play soccer, he wouldn't have given us arms."
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: Query

2009-09-06 Thread Dhruva Sagar
Hi Bartholomew,
Thanks for your reply. I will be more patient :).

Thanks & Regards,
Dhruva Sagar.


Pablo Picasso
- "Computers are useless. They can only give you answers."

On Mon, Sep 7, 2009 at 9:20 AM, Bartholomew Furrow  wrote:

> We'll have to ask for your patience here -- we're working our way through a
> large number of cheating claims.  Plus it's a weekend, so a lot of the team
> is recovering from a very hectic week. :-)  Rest assured that if you have 33
> points (and didn't cheat, of course), you qualified.
>
> Regards,
> Bartholomew
>
>
> On Sun, Sep 6, 2009 at 8:13 PM, Dhruva Sagar wrote:
>
>> Hi,
>>
>> I understand that this query has been raised time and again, even I have
>> asked before.
>> But it is 7th today and its been 5 days since the contest, and I haven't
>> seen any change on the main site indicating my qualification or otherwise.
>>
>> My rank is shown as 6000 with a score of 33 and a lot of people have told
>> me that this should imply that I have qualified, but I am surprised as to
>> why is there no indication on the codejam main site.
>>
>> Thanks & Regards,
>> Dhruva Sagar.
>>
>>
>> Mike Ditka  - 
>> "If God had wanted man to play soccer, he wouldn't have given us arms."
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: Query

2009-09-06 Thread Andriy G. Tereshchenko
Dhruva Sagar,

In order to get better understanding on scale of problem - take a look on
partial list of "similar" source codes at:
http://g.odessa.ua/topcoder/SimilarGCJ2009_Q.html

--
TAG


On Mon, Sep 7, 2009 at 7:35 AM, Dhruva Sagar  wrote:

> Hi Bartholomew,
> Thanks for your reply. I will be more patient :).
>
> Thanks & Regards,
> Dhruva Sagar.
>
>
> Pablo Picasso 
> - "Computers are useless. They can only give you answers."
>
> On Mon, Sep 7, 2009 at 9:20 AM, Bartholomew Furrow wrote:
>
>> We'll have to ask for your patience here -- we're working our way through
>> a large number of cheating claims.  Plus it's a weekend, so a lot of the
>> team is recovering from a very hectic week. :-)  Rest assured that if you
>> have 33 points (and didn't cheat, of course), you qualified.
>>
>> Regards,
>> Bartholomew
>>
>>
>> On Sun, Sep 6, 2009 at 8:13 PM, Dhruva Sagar wrote:
>>
>>> Hi,
>>>
>>> I understand that this query has been raised time and again, even I have
>>> asked before.
>>> But it is 7th today and its been 5 days since the contest, and I haven't
>>> seen any change on the main site indicating my qualification or otherwise.
>>>
>>> My rank is shown as 6000 with a score of 33 and a lot of people have told
>>> me that this should imply that I have qualified, but I am surprised as to
>>> why is there no indication on the codejam main site.
>>>
>>> Thanks & Regards,
>>> Dhruva Sagar.
>>>
>>>
>>> Mike Ditka  - 
>>> "If God had wanted man to play soccer, he wouldn't have given us arms."
>>>
>>>
>>
>>
>>
>
> >
>


-- 
--
Andriy G. Tereshchenko
Odessa, Ukraine

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: Query

2009-09-06 Thread Dhruva Sagar
Hi Andriy,
I am unable to open that link.

Thanks & Regards,
Dhruva Sagar.


Samuel Goldwyn
- "I'm willing to admit that I may not always be right, but I am never
wrong."

On Mon, Sep 7, 2009 at 10:52 AM, Andriy G. Tereshchenko  wrote:

> Dhruva Sagar,
>
> In order to get better understanding on scale of problem - take a look on
> partial list of "similar" source codes at:
> http://g.odessa.ua/topcoder/SimilarGCJ2009_Q.html
>
> --
> TAG
>
>
> On Mon, Sep 7, 2009 at 7:35 AM, Dhruva Sagar wrote:
>
>> Hi Bartholomew,
>> Thanks for your reply. I will be more patient :).
>>
>> Thanks & Regards,
>> Dhruva Sagar.
>>
>>
>> Pablo 
>> Picasso - 
>> "Computers are useless. They can only give you answers."
>>
>> On Mon, Sep 7, 2009 at 9:20 AM, Bartholomew Furrow wrote:
>>
>>> We'll have to ask for your patience here -- we're working our way through
>>> a large number of cheating claims.  Plus it's a weekend, so a lot of the
>>> team is recovering from a very hectic week. :-)  Rest assured that if you
>>> have 33 points (and didn't cheat, of course), you qualified.
>>>
>>> Regards,
>>> Bartholomew
>>>
>>>
>>> On Sun, Sep 6, 2009 at 8:13 PM, Dhruva Sagar wrote:
>>>
 Hi,

 I understand that this query has been raised time and again, even I have
 asked before.
 But it is 7th today and its been 5 days since the contest, and I haven't
 seen any change on the main site indicating my qualification or otherwise.

 My rank is shown as 6000 with a score of 33 and a lot of people have
 told me that this should imply that I have qualified, but I am surprised as
 to why is there no indication on the codejam main site.

 Thanks & Regards,
 Dhruva Sagar.


 Mike Ditka - 
 "If God had wanted man to play soccer, he wouldn't have given us arms."


>>>
>>>
>>>
>>
>>
>>
>
>
> --
> --
> Andriy G. Tereshchenko
> Odessa, Ukraine
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: Query

2009-09-06 Thread zoom

yeah same here..

On Sep 7, 10:27 am, Dhruva Sagar  wrote:
> Hi Andriy,
> I am unable to open that link.
>
> Thanks & Regards,
> Dhruva Sagar.
>
> Samuel 
> Goldwyn
> - "I'm willing to admit that I may not always be right, but I am never
> wrong."
>
> On Mon, Sep 7, 2009 at 10:52 AM, Andriy G. Tereshchenko 
> > wrote:
> > Dhruva Sagar,
>
> > In order to get better understanding on scale of problem - take a look on
> > partial list of "similar" source codes at:
> >http://g.odessa.ua/topcoder/SimilarGCJ2009_Q.html
>
> > --
> > TAG
>
> > On Mon, Sep 7, 2009 at 7:35 AM, Dhruva Sagar wrote:
>
> >> Hi Bartholomew,
> >> Thanks for your reply. I will be more patient :).
>
> >> Thanks & Regards,
> >> Dhruva Sagar.
>
> >> Pablo 
> >> Picasso - 
> >> "Computers are useless. They can only give you answers."
>
> >> On Mon, Sep 7, 2009 at 9:20 AM, Bartholomew Furrow wrote:
>
> >>> We'll have to ask for your patience here -- we're working our way through
> >>> a large number of cheating claims.  Plus it's a weekend, so a lot of the
> >>> team is recovering from a very hectic week. :-)  Rest assured that if you
> >>> have 33 points (and didn't cheat, of course), you qualified.
>
> >>> Regards,
> >>> Bartholomew
>
> >>> On Sun, Sep 6, 2009 at 8:13 PM, Dhruva Sagar 
> >>> wrote:
>
>  Hi,
>
>  I understand that this query has been raised time and again, even I have
>  asked before.
>  But it is 7th today and its been 5 days since the contest, and I haven't
>  seen any change on the main site indicating my qualification or 
>  otherwise.
>
>  My rank is shown as 6000 with a score of 33 and a lot of people have
>  told me that this should imply that I have qualified, but I am surprised 
>  as
>  to why is there no indication on the codejam main site.
>
>  Thanks & Regards,
>  Dhruva Sagar.
>
>  Mike Ditka 
>  - "If God had wanted man to play soccer, he wouldn't have given us arms."
>
> > --
> > --
> > Andriy G. Tereshchenko
> > Odessa, Ukraine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: Query

2009-09-06 Thread Carlos Guia
What a huge list.
This is really a shame, the GCJ team tries to put a nice contest out and now
has to spend so much time filtering this kind of childish behavior.
Hope you succeed in catching them all,
Carlos Guía


On Mon, Sep 7, 2009 at 1:07 AM, zoom  wrote:

>
> yeah same here..
>
> On Sep 7, 10:27 am, Dhruva Sagar  wrote:
> > Hi Andriy,
> > I am unable to open that link.
> >
> > Thanks & Regards,
> > Dhruva Sagar.
> >
> > Samuel Goldwyn<
> http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html>
> > - "I'm willing to admit that I may not always be right, but I am never
> > wrong."
> >
> > On Mon, Sep 7, 2009 at 10:52 AM, Andriy G. Tereshchenko <
> tag.em...@gmail.com
> >
> > > wrote:
> > > Dhruva Sagar,
> >
> > > In order to get better understanding on scale of problem - take a look
> on
> > > partial list of "similar" source codes at:
> > >http://g.odessa.ua/topcoder/SimilarGCJ2009_Q.html
> >
> > > --
> > > TAG
> >
> > > On Mon, Sep 7, 2009 at 7:35 AM, Dhruva Sagar  >wrote:
> >
> > >> Hi Bartholomew,
> > >> Thanks for your reply. I will be more patient :).
> >
> > >> Thanks & Regards,
> > >> Dhruva Sagar.
> >
> > >> Pablo Picasso<
> http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> -
> "Computers are useless. They can only give you answers."
> >
> > >> On Mon, Sep 7, 2009 at 9:20 AM, Bartholomew Furrow  >wrote:
> >
> > >>> We'll have to ask for your patience here -- we're working our way
> through
> > >>> a large number of cheating claims.  Plus it's a weekend, so a lot of
> the
> > >>> team is recovering from a very hectic week. :-)  Rest assured that if
> you
> > >>> have 33 points (and didn't cheat, of course), you qualified.
> >
> > >>> Regards,
> > >>> Bartholomew
> >
> > >>> On Sun, Sep 6, 2009 at 8:13 PM, Dhruva Sagar  >wrote:
> >
> >  Hi,
> >
> >  I understand that this query has been raised time and again, even I
> have
> >  asked before.
> >  But it is 7th today and its been 5 days since the contest, and I
> haven't
> >  seen any change on the main site indicating my qualification or
> otherwise.
> >
> >  My rank is shown as 6000 with a score of 33 and a lot of people have
> >  told me that this should imply that I have qualified, but I am
> surprised as
> >  to why is there no indication on the codejam main site.
> >
> >  Thanks & Regards,
> >  Dhruva Sagar.
> >
> >  Mike Ditka<
> http://www.brainyquote.com/quotes/authors/m/mike_ditka.html> - "If God had
> wanted man to play soccer, he wouldn't have given us arms."
> >
> > > --
> > > --
> > > Andriy G. Tereshchenko
> > > Odessa, Ukraine
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: Query

2009-09-07 Thread santosh kumar

But i guess some of them would be mere coincidences, coz only a very
few possible solutions for each of these problems.

On Sep 7, 11:24 am, Carlos Guia  wrote:
> What a huge list.
> This is really a shame, the GCJ team tries to put a nice contest out and now
> has to spend so much time filtering this kind of childish behavior.
> Hope you succeed in catching them all,
> Carlos Guía
>
> On Mon, Sep 7, 2009 at 1:07 AM, zoom  wrote:
>
> > yeah same here..
>
> > On Sep 7, 10:27 am, Dhruva Sagar  wrote:
> > > Hi Andriy,
> > > I am unable to open that link.
>
> > > Thanks & Regards,
> > > Dhruva Sagar.
>
> > > Samuel Goldwyn<
> >http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html>
> > > - "I'm willing to admit that I may not always be right, but I am never
> > > wrong."
>
> > > On Mon, Sep 7, 2009 at 10:52 AM, Andriy G. Tereshchenko <
> > tag.em...@gmail.com
>
> > > > wrote:
> > > > Dhruva Sagar,
>
> > > > In order to get better understanding on scale of problem - take a look
> > on
> > > > partial list of "similar" source codes at:
> > > >http://g.odessa.ua/topcoder/SimilarGCJ2009_Q.html
>
> > > > --
> > > > TAG
>
> > > > On Mon, Sep 7, 2009 at 7:35 AM, Dhruva Sagar  > >wrote:
>
> > > >> Hi Bartholomew,
> > > >> Thanks for your reply. I will be more patient :).
>
> > > >> Thanks & Regards,
> > > >> Dhruva Sagar.
>
> > > >> Pablo Picasso<
> >http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> -
> > "Computers are useless. They can only give you answers."
>
> > > >> On Mon, Sep 7, 2009 at 9:20 AM, Bartholomew Furrow  > >wrote:
>
> > > >>> We'll have to ask for your patience here -- we're working our way
> > through
> > > >>> a large number of cheating claims.  Plus it's a weekend, so a lot of
> > the
> > > >>> team is recovering from a very hectic week. :-)  Rest assured that if
> > you
> > > >>> have 33 points (and didn't cheat, of course), you qualified.
>
> > > >>> Regards,
> > > >>> Bartholomew
>
> > > >>> On Sun, Sep 6, 2009 at 8:13 PM, Dhruva Sagar  > >wrote:
>
> > >  Hi,
>
> > >  I understand that this query has been raised time and again, even I
> > have
> > >  asked before.
> > >  But it is 7th today and its been 5 days since the contest, and I
> > haven't
> > >  seen any change on the main site indicating my qualification or
> > otherwise.
>
> > >  My rank is shown as 6000 with a score of 33 and a lot of people have
> > >  told me that this should imply that I have qualified, but I am
> > surprised as
> > >  to why is there no indication on the codejam main site.
>
> > >  Thanks & Regards,
> > >  Dhruva Sagar.
>
> > >  Mike Ditka<
> >http://www.brainyquote.com/quotes/authors/m/mike_ditka.html> - "If God had
> > wanted man to play soccer, he wouldn't have given us arms."
>
> > > > --
> > > > --
> > > > Andriy G. Tereshchenko
> > > > Odessa, Ukraine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: Query

2009-09-07 Thread Carlos Guia
If you compare those source files you will easily realize it isn't
coincidence, the solutions of many people are probably very similar, but in
that list variable names, order of apparition, class and file names and
stuff like that are all the same, and that is hardly a coincidence.
Carlos Guía


On Mon, Sep 7, 2009 at 7:50 AM, santosh kumar  wrote:

>
> But i guess some of them would be mere coincidences, coz only a very
> few possible solutions for each of these problems.
>
> On Sep 7, 11:24 am, Carlos Guia  wrote:
> > What a huge list.
> > This is really a shame, the GCJ team tries to put a nice contest out and
> now
> > has to spend so much time filtering this kind of childish behavior.
> > Hope you succeed in catching them all,
> > Carlos Guía
> >
> > On Mon, Sep 7, 2009 at 1:07 AM, zoom  wrote:
> >
> > > yeah same here..
> >
> > > On Sep 7, 10:27 am, Dhruva Sagar  wrote:
> > > > Hi Andriy,
> > > > I am unable to open that link.
> >
> > > > Thanks & Regards,
> > > > Dhruva Sagar.
> >
> > > > Samuel Goldwyn<
> > >http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html>
> > > > - "I'm willing to admit that I may not always be right, but I am
> never
> > > > wrong."
> >
> > > > On Mon, Sep 7, 2009 at 10:52 AM, Andriy G. Tereshchenko <
> > > tag.em...@gmail.com
> >
> > > > > wrote:
> > > > > Dhruva Sagar,
> >
> > > > > In order to get better understanding on scale of problem - take a
> look
> > > on
> > > > > partial list of "similar" source codes at:
> > > > >http://g.odessa.ua/topcoder/SimilarGCJ2009_Q.html
> >
> > > > > --
> > > > > TAG
> >
> > > > > On Mon, Sep 7, 2009 at 7:35 AM, Dhruva Sagar <
> dhruva.sa...@gmail.com
> > > >wrote:
> >
> > > > >> Hi Bartholomew,
> > > > >> Thanks for your reply. I will be more patient :).
> >
> > > > >> Thanks & Regards,
> > > > >> Dhruva Sagar.
> >
> > > > >> Pablo Picasso<
> > >http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> -
> > > "Computers are useless. They can only give you answers."
> >
> > > > >> On Mon, Sep 7, 2009 at 9:20 AM, Bartholomew Furrow <
> fur...@gmail.com
> > > >wrote:
> >
> > > > >>> We'll have to ask for your patience here -- we're working our way
> > > through
> > > > >>> a large number of cheating claims.  Plus it's a weekend, so a lot
> of
> > > the
> > > > >>> team is recovering from a very hectic week. :-)  Rest assured
> that if
> > > you
> > > > >>> have 33 points (and didn't cheat, of course), you qualified.
> >
> > > > >>> Regards,
> > > > >>> Bartholomew
> >
> > > > >>> On Sun, Sep 6, 2009 at 8:13 PM, Dhruva Sagar <
> dhruva.sa...@gmail.com
> > > >wrote:
> >
> > > >  Hi,
> >
> > > >  I understand that this query has been raised time and again,
> even I
> > > have
> > > >  asked before.
> > > >  But it is 7th today and its been 5 days since the contest, and I
> > > haven't
> > > >  seen any change on the main site indicating my qualification or
> > > otherwise.
> >
> > > >  My rank is shown as 6000 with a score of 33 and a lot of people
> have
> > > >  told me that this should imply that I have qualified, but I am
> > > surprised as
> > > >  to why is there no indication on the codejam main site.
> >
> > > >  Thanks & Regards,
> > > >  Dhruva Sagar.
> >
> > > >  Mike Ditka<
> > >http://www.brainyquote.com/quotes/authors/m/mike_ditka.html> - "If God
> had
> > > wanted man to play soccer, he wouldn't have given us arms."
> >
> > > > > --
> > > > > --
> > > > > Andriy G. Tereshchenko
> > > > > Odessa, Ukraine
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query

2010-06-21 Thread sjbr
is a signed number that identifies an object and is defined in Object
class , is used with hash based collections like HashSet.
The java documentation gives the contract that you must follow if you
override this method:

http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()


On 16 jun, 05:33, NetBeans  wrote:
> wat is mean by hashcode in java

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to google-c...@googlegroups.com.
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.



[gcj] Re: query

2010-06-22 Thread nataraj subramanian
So hashcodes are used to prevent creation of duplicate objects? It's a
memory conservation thing?

On Jun 21, 6:50 pm, Paul Smith  wrote:
> Two object which are equal will have equal hashcodes, but two objects
> with equal hashcodes aren't necessarily equal.
>
> Paul Smith
>
> p...@pollyandpaul.co.uk
>
> On Mon, Jun 21, 2010 at 7:17 AM, Emma Olukha  wrote:
> > Off the fly..Hash code is an unique id number allocated to an object by JVM.
> > It basically identifies each object but is not unique.
>
> > 
>
> > On 16 June 2010 14:33, NetBeans  wrote:
>
> >> wat is mean by hashcode in java
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "google-codejam" group.
> >> To post to this group, send email to google-c...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-code+unsubscr...@googlegroups.com.
> >> 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-codejam" group.
> > To post to this group, send email to google-c...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-code+unsubscr...@googlegroups.com.
> > 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-codejam" group.
To post to this group, send email to google-c...@googlegroups.com.
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.



[gcj] Re: Query

2017-03-27 Thread Xiongqi ZHANG
The best way to read input and save output to file is use I/O redirects.

Basically you just read input from stdin and print the output to stdout and log 
your debug info to stderr.

---

After you downloaded the input file and saved as input.in,
you can run your program using

./myapp < input.in > output.out

after your program finished, output.out will contains everything you print to 
stdout. Everything you print to stderr should still go to the console.

-- 
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 post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/3c7cb7a5-7a76-4b2a-8381-38d3b3cce7f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gcj] Re: query

2010-06-22 Thread Rajesh Nair
Nataraj,

The hashcode method provides a hash of the object which is primarily used in
hash based containers like HashSet and HashMap.

I do not believe it has anything to do with memory conservation or creation
of duplicate objects.

Regards,
Rajesh Nair

On Wed, Jun 23, 2010 at 9:24 AM, nataraj subramanian wrote:

> So hashcodes are used to prevent creation of duplicate objects? It's a
> memory conservation thing?
>
> On Jun 21, 6:50 pm, Paul Smith  wrote:
> > Two object which are equal will have equal hashcodes, but two objects
> > with equal hashcodes aren't necessarily equal.
> >
> > Paul Smith
> >
> > p...@pollyandpaul.co.uk
> >
> > On Mon, Jun 21, 2010 at 7:17 AM, Emma Olukha 
> wrote:
> > > Off the fly..Hash code is an unique id number allocated to an object by
> JVM.
> > > It basically identifies each object but is not unique.
> >
> > > 
> >
> > > On 16 June 2010 14:33, NetBeans  wrote:
> >
> > >> wat is mean by hashcode in java
> >
> > >> --
> > >> You received this message because you are subscribed to the Google
> Groups
> > >> "google-codejam" group.
> > >> To post to this group, send email to google-c...@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > >> google-code+unsubscr...@googlegroups.com
> .
> > >> 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-codejam" group.
> > > To post to this group, send email to google-c...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-code+unsubscr...@googlegroups.com
> .
> > > 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-codejam" group.
> To post to this group, send email to google-c...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-code+unsubscr...@googlegroups.com
> .
> 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-codejam" group.
To post to this group, send email to google-c...@googlegroups.com.
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.



Re: [gcj] Re: query

2010-06-23 Thread Paul Smith
It's all about fast lookup.

Take any object, how do you look for that object in a container?  Go
through the container and check each object one by one until you find
it?  Holy O(n) lookup batman!

Much better would be to sort the objects somehow and at least do
binary search.  However, some objects cannot be sorted as they don't
really have an ordering, and some objects are huge so looking them up
is really inefficient that way.

What you need is some way to quickly convert any object into a
integer, like some kind of identity code, you can then store objects
based on that code, and lookups become much much faster.

That's the hashcode.

It doesn't save your complete headache - 2 objects with the same
hashcode aren't necessarily equal, so once you've found all the
objects with the hashcode that you're looking for, you still have to
check the real object for equality - but hash collisions are rare.  At
least, with a good hashing algorithm they are ;)

Paul Smith

p...@pollyandpaul.co.uk

On Wed, Jun 23, 2010 at 6:07 AM, Rajesh Nair  wrote:
> Nataraj,
> The hashcode method provides a hash of the object which is primarily used in
> hash based containers like HashSet and HashMap.
> I do not believe it has anything to do with memory conservation or creation
> of duplicate objects.
> Regards,
> Rajesh Nair
>
> On Wed, Jun 23, 2010 at 9:24 AM, nataraj subramanian 
> wrote:
>>
>> So hashcodes are used to prevent creation of duplicate objects? It's a
>> memory conservation thing?
>>
>> On Jun 21, 6:50 pm, Paul Smith  wrote:
>> > Two object which are equal will have equal hashcodes, but two objects
>> > with equal hashcodes aren't necessarily equal.
>> >
>> > Paul Smith
>> >
>> > p...@pollyandpaul.co.uk
>> >
>> > On Mon, Jun 21, 2010 at 7:17 AM, Emma Olukha 
>> > wrote:
>> > > Off the fly..Hash code is an unique id number allocated to an object
>> > > by JVM.
>> > > It basically identifies each object but is not unique.
>> >
>> > > 
>> >
>> > > On 16 June 2010 14:33, NetBeans  wrote:
>> >
>> > >> wat is mean by hashcode in java
>> >
>> > >> --
>> > >> You received this message because you are subscribed to the Google
>> > >> Groups
>> > >> "google-codejam" group.
>> > >> To post to this group, send email to google-c...@googlegroups.com.
>> > >> To unsubscribe from this group, send email to
>> > >> google-code+unsubscr...@googlegroups.com.
>> > >> 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-codejam" group.
>> > > To post to this group, send email to google-c...@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > > google-code+unsubscr...@googlegroups.com.
>> > > 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-codejam" group.
>> To post to this group, send email to google-c...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-code+unsubscr...@googlegroups.com.
>> 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-codejam" group.
> To post to this group, send email to google-c...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-code+unsubscr...@googlegroups.com.
> 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-codejam" group.
To post to this group, send email to google-c...@googlegroups.com.
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.



Re: [gcj] Re: query

2010-06-23 Thread Rajesh Nair
Paul,

That was a very good description!

Regards,
Rajesh Nair

On Wed, Jun 23, 2010 at 2:12 PM, Paul Smith  wrote:

> It's all about fast lookup.
>
> Take any object, how do you look for that object in a container?  Go
> through the container and check each object one by one until you find
> it?  Holy O(n) lookup batman!
>
> Much better would be to sort the objects somehow and at least do
> binary search.  However, some objects cannot be sorted as they don't
> really have an ordering, and some objects are huge so looking them up
> is really inefficient that way.
>
> What you need is some way to quickly convert any object into a
> integer, like some kind of identity code, you can then store objects
> based on that code, and lookups become much much faster.
>
> That's the hashcode.
>
> It doesn't save your complete headache - 2 objects with the same
> hashcode aren't necessarily equal, so once you've found all the
> objects with the hashcode that you're looking for, you still have to
> check the real object for equality - but hash collisions are rare.  At
> least, with a good hashing algorithm they are ;)
>
> Paul Smith
>
> p...@pollyandpaul.co.uk
>
> On Wed, Jun 23, 2010 at 6:07 AM, Rajesh Nair 
> wrote:
> > Nataraj,
> > The hashcode method provides a hash of the object which is primarily used
> in
> > hash based containers like HashSet and HashMap.
> > I do not believe it has anything to do with memory conservation or
> creation
> > of duplicate objects.
> > Regards,
> > Rajesh Nair
> >
> > On Wed, Jun 23, 2010 at 9:24 AM, nataraj subramanian <
> shree@gmail.com>
> > wrote:
> >>
> >> So hashcodes are used to prevent creation of duplicate objects? It's a
> >> memory conservation thing?
> >>
> >> On Jun 21, 6:50 pm, Paul Smith  wrote:
> >> > Two object which are equal will have equal hashcodes, but two objects
> >> > with equal hashcodes aren't necessarily equal.
> >> >
> >> > Paul Smith
> >> >
> >> > p...@pollyandpaul.co.uk
> >> >
> >> > On Mon, Jun 21, 2010 at 7:17 AM, Emma Olukha  >
> >> > wrote:
> >> > > Off the fly..Hash code is an unique id number allocated to an object
> >> > > by JVM.
> >> > > It basically identifies each object but is not unique.
> >> >
> >> > > 
> >> >
> >> > > On 16 June 2010 14:33, NetBeans  wrote:
> >> >
> >> > >> wat is mean by hashcode in java
> >> >
> >> > >> --
> >> > >> You received this message because you are subscribed to the Google
> >> > >> Groups
> >> > >> "google-codejam" group.
> >> > >> To post to this group, send email to google-c...@googlegroups.com.
> >> > >> To unsubscribe from this group, send email to
> >> > >> google-code+unsubscr...@googlegroups.com
> .
> >> > >> 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-codejam" group.
> >> > > To post to this group, send email to google-c...@googlegroups.com.
> >> > > To unsubscribe from this group, send email to
> >> > > google-code+unsubscr...@googlegroups.com
> .
> >> > > 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-codejam" group.
> >> To post to this group, send email to google-c...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-code+unsubscr...@googlegroups.com
> .
> >> 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-codejam" group.
> > To post to this group, send email to google-c...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-code+unsubscr...@googlegroups.com
> .
> > 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-codejam" group.
> To post to this group, send email to google-c...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-code+unsubscr...@googlegroups.com
> .
> 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-codejam" group.
To post to this group, send email to google-c...@googlegroups.com.
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.



[gcj] Re: query on qualification round

2009-09-02 Thread bajrang kumar

hey dear,
you have to solve 1 out of 3 questions for qualifying round.if u have
solved this ,then u can attempt another ,but not necessary,perhaps.

On 9/2/09, Hirumani  wrote:
>
> hi all..
> do we need to solve only 1 out of 3 questions in  qualification
> round?
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Himanshu Sachdeva
atleast 1 small and 1 large input
Cheers!
Himanshu Sachdeva


On Wed, Sep 2, 2009 at 1:06 PM, Hirumani  wrote:

>
> hi all..
>do we need to solve only 1 out of 3 questions in  qualification
> round?
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Anurag Dongre
ok what exactly does 1 LARGE and 1 SMALL mean? does it mean 1 large and 1
small for the same question or it means 1 large from any of the three and 1
small from any of the three.?

On 9/2/09, Himanshu Sachdeva  wrote:
>
> atleast 1 small and 1 large input
> Cheers!
> Himanshu Sachdeva
>
>
> On Wed, Sep 2, 2009 at 1:06 PM, Hirumani  wrote:
>
>>
>> hi all..
>>do we need to solve only 1 out of 3 questions in  qualification
>> round?
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Carlos Guia
You need at least 1 small and 1 large, but if can solve more try to do it,
you won't know if the large is correct until qualification ends, so it's a
gamble to solve only 1 and not try the others.
Carlos Guía


On Wed, Sep 2, 2009 at 11:55 AM, Himanshu Sachdeva wrote:

> atleast 1 small and 1 large input
> Cheers!
> Himanshu Sachdeva
>
>
>
> On Wed, Sep 2, 2009 at 1:06 PM, Hirumani  wrote:
>
>>
>> hi all..
>>do we need to solve only 1 out of 3 questions in  qualification
>> round?
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Anurag Dongre
YEAH i understand its a gamble but is it that smal and large of same
question should be correct in order to advance to round 1 or 1 small of any
thrree questions and 1 large of any three questions would do

On 9/2/09, Carlos Guia  wrote:
>
> You need at least 1 small and 1 large, but if can solve more try to do it,
> you won't know if the large is correct until qualification ends, so it's a
> gamble to solve only 1 and not try the others.
> Carlos Guía
>
>
> On Wed, Sep 2, 2009 at 11:55 AM, Himanshu Sachdeva 
> wrote:
>
>> atleast 1 small and 1 large input
>> Cheers!
>> Himanshu Sachdeva
>>
>>
>>
>> On Wed, Sep 2, 2009 at 1:06 PM, Hirumani  wrote:
>>
>>>
>>> hi all..
>>>do we need to solve only 1 out of 3 questions in  qualification
>>> round?
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread vexorian

Just notice that after you submit a large output, the site will not
tell you whether it is right or not. The official result about the
correctness of your large output won't be available until the
qualification round ends. So, it is probably a good idea to try to
solve the 3 questions just in case.

On Sep 2, 1:42 pm, bajrang kumar  wrote:
> hey dear,
> you have to solve 1 out of 3 questions for qualifying round.if u have
> solved this ,then u can attempt another ,but not necessary,perhaps.
>
> On 9/2/09, Hirumani  wrote:
>
>
>
> > hi all..
> >     do we need to solve only 1 out of 3 questions in  qualification
> > round?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Anurag Dongre
YES my dear friends...i will definitely solve all three of them. Definitely.
But if i know that i did right in small input for Q1 and m sure all of the
other two questions are wrong for small input, and if im sure that i did
right in large input for Q3 theni can be relaxed. Basically just wanna know
"*if smal and large of same question should be correct in order to advance
to round 1 or 1 small of any thrree questions and 1 large of any three
questions would do"*

On 9/2/09, vexorian  wrote:
>
>
> Just notice that after you submit a large output, the site will not
> tell you whether it is right or not. The official result about the
> correctness of your large output won't be available until the
> qualification round ends. So, it is probably a good idea to try to
> solve the 3 questions just in case.
>
> On Sep 2, 1:42 pm, bajrang kumar  wrote:
> > hey dear,
> > you have to solve 1 out of 3 questions for qualifying round.if u have
> > solved this ,then u can attempt another ,but not necessary,perhaps.
> >
> > On 9/2/09, Hirumani  wrote:
> >
> >
> >
> > > hi all..
> > > do we need to solve only 1 out of 3 questions in  qualification
> > > round?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Tim MacDonald
Any small, and any large.  (It would be unusual to have the large correct
without having the small from that same question, however)

On Wed, Sep 2, 2009 at 2:13 PM, Anurag Dongre wrote:

> YEAH i understand its a gamble but is it that smal and large of same
> question should be correct in order to advance to round 1 or 1 small of any
> thrree questions and 1 large of any three questions would do
>
>
> On 9/2/09, Carlos Guia  wrote:
>>
>> You need at least 1 small and 1 large, but if can solve more try to do it,
>> you won't know if the large is correct until qualification ends, so it's a
>> gamble to solve only 1 and not try the others.
>> Carlos Guía
>>
>>
>> On Wed, Sep 2, 2009 at 11:55 AM, Himanshu Sachdeva 
>> wrote:
>>
>>> atleast 1 small and 1 large input
>>> Cheers!
>>> Himanshu Sachdeva
>>>
>>>
>>>
>>> On Wed, Sep 2, 2009 at 1:06 PM, Hirumani wrote:
>>>

 hi all..
do we need to solve only 1 out of 3 questions in  qualification
 round?



>>>
>>>
>>>
>>>
>>>
>>
>>  >>
>>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Hirumani

Thanks Himanshu & bajrang..

On Sep 2, 9:42 pm, bajrang kumar  wrote:
> hey dear,
> you have to solve 1 out of 3 questions for qualifying round.if u have
> solved this ,then u can attempt another ,but not necessary,perhaps.
>
> On 9/2/09, Hirumani  wrote:
>
>
>
> > hi all..
> >     do we need to solve only 1 out of 3 questions in  qualification
> > round?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Ziv W

Well, I think it's assumed that if you're able to solve a large input
from one of the questions, then you can solve the small one as well
with exactly the same code. (Vice versa is rather less likely to be
correct...)

If you take a look at a round or two from last year, the concept
should be clear. In this case, I think the point is that it's not
enough to rack up easy points by writing naive solutions to all of the
small inputs - you've got to complete at least one of the big ones.

Good luck! :)

On Sep 2, 8:27 pm, Anurag Dongre  wrote:
> ok what exactly does 1 LARGE and 1 SMALL mean? does it mean 1 large and 1
> small for the same question or it means 1 large from any of the three and 1
> small from any of the three.?
>
> On 9/2/09, Himanshu Sachdeva  wrote:
>
>
>
> > atleast 1 small and 1 large input
> > Cheers!
> > Himanshu Sachdeva
>
> > On Wed, Sep 2, 2009 at 1:06 PM, Hirumani  wrote:
>
> >> hi all..
> >>    do we need to solve only 1 out of 3 questions in  qualification
> >> round?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Grant Kot
Well, if it works on the large data set it should probably work on the  
small. I don't see why anyone wouldn't test on the small as if it  
doesn't work there it sure as heck won't work on the large.

Grant Kot

On Sep 2, 2009, at 2:13 PM, Anurag Dongre   
wrote:

> YEAH i understand its a gamble but is it that smal and large of same  
> question should be correct in order to advance to round 1 or 1 small  
> of any thrree questions and 1 large of any three questions would do
>
> On 9/2/09, Carlos Guia  wrote:
> You need at least 1 small and 1 large, but if can solve more try to  
> do it, you won't know if the large is correct until qualification  
> ends, so it's a gamble to solve only 1 and not try the others.
>
> Carlos Guía
>
>
>
> On Wed, Sep 2, 2009 at 11:55 AM, Himanshu Sachdeva  > wrote:
> atleast 1 small and 1 large input
>
> Cheers!
> Himanshu Sachdeva
>
>
>
> On Wed, Sep 2, 2009 at 1:06 PM, Hirumani   
> wrote:
>
> hi all..
>do we need to solve only 1 out of 3 questions in  qualification
> round?
>
>
>
>
>
>
>
>
>
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread David M.
Yes and not. It can happen that a program runs ok with the small input file,
but the same program fails with the large. It could had problems like an out
of memory or needs a lot of time
to execute...

2009/9/2 Anurag Dongre 

> YEAH i understand its a gamble but is it that smal and large of same
> question should be correct in order to advance to round 1 or 1 small of any
> thrree questions and 1 large of any three questions would do
>
>
> On 9/2/09, Carlos Guia  wrote:
>>
>> You need at least 1 small and 1 large, but if can solve more try to do it,
>> you won't know if the large is correct until qualification ends, so it's a
>> gamble to solve only 1 and not try the others.
>> Carlos Guía
>>
>>
>> On Wed, Sep 2, 2009 at 11:55 AM, Himanshu Sachdeva 
>> wrote:
>>
>>> atleast 1 small and 1 large input
>>> Cheers!
>>> Himanshu Sachdeva
>>>
>>>
>>>
>>> On Wed, Sep 2, 2009 at 1:06 PM, Hirumani wrote:
>>>

 hi all..
do we need to solve only 1 out of 3 questions in  qualification
 round?



>>>
>>>
>>>
>>>
>>>
>>
>>  >>
>>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-02 Thread Anurag Dongre
Thanks a lot guysthat wasnt in my mind..

On 9/3/09, David M.  wrote:
>
> Yes and not. It can happen that a program runs ok with the small input
> file, but the same program fails with the large. It could had problems like
> an out of memory or needs a lot of time
> to execute...
>
> 2009/9/2 Anurag Dongre 
>
>> YEAH i understand its a gamble but is it that smal and large of same
>> question should be correct in order to advance to round 1 or 1 small of any
>> thrree questions and 1 large of any three questions would do
>>
>>
>> On 9/2/09, Carlos Guia  wrote:
>>>
>>> You need at least 1 small and 1 large, but if can solve more try to do
>>> it, you won't know if the large is correct until qualification ends, so it's
>>> a gamble to solve only 1 and not try the others.
>>> Carlos Guía
>>>
>>>
>>> On Wed, Sep 2, 2009 at 11:55 AM, Himanshu Sachdeva >> > wrote:
>>>
 atleast 1 small and 1 large input
 Cheers!
 Himanshu Sachdeva



 On Wed, Sep 2, 2009 at 1:06 PM, Hirumani wrote:

>
> hi all..
>do we need to solve only 1 out of 3 questions in  qualification
> round?
>
>
>





>>>
>>>
>>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-03 Thread Himanshu Sachdeva
as the rules state:"If you successfully solve one small and one large input
from any of the three problems, you will advance to Online Round 1."

what i get from this line is that the small and large input should be of the
same problem.
but if somebody from GCJ organizing team can confirm, it'll be nice.


Cheers!
Himanshu Sachdeva


On Wed, Sep 2, 2009 at 8:45 PM, Anurag Dongre wrote:

> YES my dear friends...i will definitely solve all three of
> them. Definitely. But if i know that i did right in small input for Q1 and m
> sure all of the other two questions are wrong for small input, and if im
> sure that i did right in large input for Q3 theni can be relaxed. Basically
> just wanna know "*if smal and large of same question should be correct in
> order to advance to round 1 or 1 small of any thrree questions and 1 large
> of any three questions would do"*
>
>
> On 9/2/09, vexorian  wrote:
>>
>>
>> Just notice that after you submit a large output, the site will not
>> tell you whether it is right or not. The official result about the
>> correctness of your large output won't be available until the
>> qualification round ends. So, it is probably a good idea to try to
>> solve the 3 questions just in case.
>>
>> On Sep 2, 1:42 pm, bajrang kumar  wrote:
>> > hey dear,
>> > you have to solve 1 out of 3 questions for qualifying round.if u have
>> > solved this ,then u can attempt another ,but not necessary,perhaps.
>> >
>> > On 9/2/09, Hirumani  wrote:
>> >
>> >
>> >
>> > > hi all..
>> > > do we need to solve only 1 out of 3 questions in  qualification
>> > > round?
>>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-03 Thread Himanshu Sachdeva
Grant, Ziv:the issue that was being discussed in this thread is whether you
can solve small and large inputs for different problems and qualify
OR
you have you solve small and large for the same problem.
its right that if it works for large input, it'll work for small input. but
you dont know the result for large input untill the round is over.

Cheers!
Himanshu Sachdeva


On Wed, Sep 2, 2009 at 8:29 PM, Grant Kot  wrote:

> Well, if it works on the large data set it should probably work on the
> small. I don't see why anyone wouldn't test on the small as if it doesn't
> work there it sure as heck won't work on the large.
>
> Grant Kot
>
> On Sep 2, 2009, at 2:13 PM, Anurag Dongre 
> wrote:
>
> YEAH i understand its a gamble but is it that smal and large of same
> question should be correct in order to advance to round 1 or 1 small of any
> thrree questions and 1 large of any three questions would do
>
> On 9/2/09, Carlos Guia < zyx3d...@gmail.com> wrote:
>>
>> You need at least 1 small and 1 large, but if can solve more try to do it,
>> you won't know if the large is correct until qualification ends, so it's a
>> gamble to solve only 1 and not try the others.
>> Carlos Guía
>>
>>
>> On Wed, Sep 2, 2009 at 11:55 AM, Himanshu Sachdeva <
>> sachdev...@gmail.com> wrote:
>>
>>> atleast 1 small and 1 large input
>>> Cheers!
>>> Himanshu Sachdeva
>>>
>>>
>>>
>>> On Wed, Sep 2, 2009 at 1:06 PM, Hirumani < 
>>> hirumani.n...@gmail.com> wrote:
>>>

 hi all..
do we need to solve only 1 out of 3 questions in  qualification
 round?



>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query on qualification round

2009-09-03 Thread Carlos Guia
>
> its right that if it works for large input, it'll work for small input. but
> you dont know the result for large input untill the round is over.
>

Yes, but you do know if it is wrong for the small, and if it is wrong for
the small then you can be almost positive the large is wrong as well.

Carlos Guía

>

> Cheers!
> Himanshu Sachdeva
>
>
>
> On Wed, Sep 2, 2009 at 8:29 PM, Grant Kot  wrote:
>
>> Well, if it works on the large data set it should probably work on the
>> small. I don't see why anyone wouldn't test on the small as if it doesn't
>> work there it sure as heck won't work on the large.
>>
>> Grant Kot
>>
>> On Sep 2, 2009, at 2:13 PM, Anurag Dongre 
>> wrote:
>>
>> YEAH i understand its a gamble but is it that smal and large of same
>> question should be correct in order to advance to round 1 or 1 small of any
>> thrree questions and 1 large of any three questions would do
>>
>> On 9/2/09, Carlos Guia < zyx3d...@gmail.com> wrote:
>>>
>>> You need at least 1 small and 1 large, but if can solve more try to do
>>> it, you won't know if the large is correct until qualification ends, so it's
>>> a gamble to solve only 1 and not try the others.
>>> Carlos Guía
>>>
>>>
>>> On Wed, Sep 2, 2009 at 11:55 AM, Himanshu Sachdeva <
>>> sachdev...@gmail.com> wrote:
>>>
 atleast 1 small and 1 large input
 Cheers!
 Himanshu Sachdeva



 On Wed, Sep 2, 2009 at 1:06 PM, Hirumani < 
 hirumani.n...@gmail.com> wrote:

>
> hi all..
>do we need to solve only 1 out of 3 questions in  qualification
> round?
>
>
>





>>>
>>>
>>>
>>>
>>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query about qualification round..

2009-09-11 Thread Dhruva Sagar
No

Thanks & Regards,
Dhruva Sagar.


Joan Crawford
- "I, Joan Crawford, I believe in the dollar. Everything I earn, I
spend."

On Fri, Sep 11, 2009 at 10:12 PM, harshit shah  wrote:

>
> Hi
> Out of 3 sub round if i will only attempt round 1B and 1C not 1A then
> will i be disqualify?
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: Query regarding Problem Statement

2010-04-08 Thread Saptarshi Chaudhuri
try searching for the Google codejam older problems.but i guess you
are probably aware of those by now.
For language,try to read the FAQs

On Apr 8, 11:31 am, Manan  wrote:
> Hello friends
> I want to know what kind of problem statement we have to solve and by
> which language?
> And also how can I sign up for appearing in the exam of Google Code
> Jam?
>
> Thanks and Regards
> Manan Shah
> 09924038427

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to google-c...@googlegroups.com.
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.



[gcj] Re: query regarding opening input files in java

2009-08-31 Thread vivek attri
On 8/31/09, Udhaya kumar  wrote:
>
> Hi All,
>
> I too have the below questions...
>
> i'm vivek from shimla
>
> Udhay...
>
> -- Forwarded message --
> From: krrish 
> Date: Mon, Aug 31, 2009 at 6:24 PM
> Subject: [gcj] query regarding opening input files in java
> To: google-codejam 
>
>
>
> in java code... how to access the input .in files and do we need to
> send the entire project folder if i do the java coding in
> netbeans??
>
> One more thing i need clarification about is... sending output file
> means... do we need to create any output file and transfer the output
> to it..??? If so can u explain me how to do that in java??
>
>
>
>
>
> --
> Udhaya
> - - Life is to live, Be live every second - -
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query regarding opening input files in java

2009-09-01 Thread SkidanovAlex


In order to read from file

BufferedReader bf = new BufferedReader( new FileReader
( "problem.in" ) );

Than you can read one line of input by calling:

String s = bf.readLine( );

If string has some tokens, separated by space (for example two
integers) use StringTokenizer class. For example if you want to read
two integers:

StringTokenizer st = new StringTokenizer( s );
int n = Integer.parseInt( st.nextToken( ) );
int m = Integer.parseInt( st.nextToken( ) );


Writing:

PrintWriter pw = new PrintWriter( "problem.out" );
pw.println( "Omg! It works!" );


One more peace of advice. Never use more than one question mark in a
row :o)

Skidanov Alex


On Aug 31, 5:54 pm, krrish  wrote:
> in java code... how to access the input .in files and do we need to
> send the entire project folder if i do the java coding in
> netbeans??
>
> One more thing i need clarification about is... sending output file
> means... do we need to create any output file and transfer the output
> to it..??? If so can u explain me how to do that in java??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query regarding opening input files in java

2009-09-01 Thread SkidanovAlex

Also some java coders like using Scanner class
It is a bit easier than BufferedReader/StringTokenizer, but it is
slower as well


On Aug 31, 5:54 pm, krrish  wrote:
> in java code... how to access the input .in files and do we need to
> send the entire project folder if i do the java coding in
> netbeans??
>
> One more thing i need clarification about is... sending output file
> means... do we need to create any output file and transfer the output
> to it..??? If so can u explain me how to do that in java??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: query regarding opening input files in java

2009-09-01 Thread Udhaya kumar
Hi Alex,
  Thanks for your reply [?]
Udhay

On Tue, Sep 1, 2009 at 5:23 PM, SkidanovAlex  wrote:

>
> Also some java coders like using Scanner class
> It is a bit easier than BufferedReader/StringTokenizer, but it is
> slower as well
>
>
> On Aug 31, 5:54 pm, krrish  wrote:
>  > in java code... how to access the input .in files and do we need to
> > send the entire project folder if i do the java coding in
> > netbeans??
> >
> > One more thing i need clarification about is... sending output file
> > means... do we need to create any output file and transfer the output
> > to it..??? If so can u explain me how to do that in java??
> >
>


-- 
Udhaya
- - Life is to live, Be live every second - -

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---

<>

[gcj] Re: query regarding opening input files in java

2009-09-01 Thread wolf chen

BufferedReader in = new BufferedReader(new FileReader("A-small-
practice.in"));

BufferedWriter out = new BufferedWriter(new FileWriter("A-small-
practice.out"));

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---



[gcj] Re: QUERY: How to check the outputs for practice probems?

2011-04-24 Thread monish001
Hey thanks Ravi. It is working upto the mark in firefox.

Monish

On Apr 24, 1:23 am, ravi shanker  wrote:
> Hi,
>
> just wait for some time or try with some other browser u will get the
> response back.
>
> On Sat, Apr 23, 2011 at 10:15 PM, monish gupta wrote:
>
>
>
>
>
>
>
> > Hello everyone
>
> > I have written code for a problem, downloaded the 'Small' input file and
> > submitted the output file. But the site is inactive in response. How would I
> > come to know if the generated output file is correct?
>
> > Monish
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "google-codejam" 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
> >http://groups.google.com/group/google-code?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 
http://groups.google.com/group/google-code?hl=en.