[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

[gcj] Re: Big integer in C++ problem

2009-09-03 Thread MagicLi
Oh, it is great! "__int64" I use visual studio C++ 2008. Can I use __int64 as normal int type, like "+ - * /" these operators? On Sep 2, 1:00 pm, jalves wrote: > Hi, > >   It depends on your compiler but all should have 64 bit integers: > - GNU C++ type: long long > - VC++ type: __int64 > >   If

[gcj] How to use the Input files

2009-09-03 Thread Chaitanya Varma
Hi, guys i am an new bee to this codejam,suggest me with an IDE for C++.I have choosen C++ for programming.And also how to use the input file if i am using turbo c++ IDE... Thanks in advance :) --~--~-~--~~~---~--~~ You received this message because you are sub

[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 r

[gcj] how is everyone going on the qualification round

2009-09-03 Thread MagicLi
I finish problem A&B, for problem C, I finish the small input, my program fail the large input. I think there is better algorithm to work it out. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "google-codejam" group

[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. Ca

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Dhruva Sagar
I finished only problem A for both small & large :(. Came close to finishing B, but time ran out. Is it possible to see others' solutions ? I would love to. Thanks & Regards, Dhruva Sagar. Pablo Picasso - "Computers are useless. Th

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Pedro Henrique Calais
Yes, they are available on the web site. My solution for problem A was just to convert the words to regexs: (ab)c(cd) --> [ab]c[cd] and then tested the regex against all the vocabulary of the language. -- Pedro On Thu, Sep 3, 2009 at 10:44 PM, Dhruva Sagar wrote: > I finished only problem A f

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Ahmed Medhat
me too 2009/9/4 Dhruva Sagar > I finished only problem A for both small & large :(. > Came close to finishing B, but time ran out. > > Is it possible to see others' solutions ? I would love to. > > Thanks & Regards, > Dhruva Sagar. > > > Pablo Picasso

[gcj] Re: Language of choice

2009-09-03 Thread peaceoutside.org
I'm using: Dual-display 32-bit XP Pro system Visual Studio 2008 with C# One of those Model M style keyboards (the newer USB kind) Various kinds of tea No SVN for now, just file, save as... On Sep 2, 10:17 am, brian wrote: > So what is everyone thinking of using for this? > Language/IDE(or no I

[gcj] hey all

2009-09-03 Thread oliviera
any one can explain me how to perform all this task it should be batter if any one is using C. --~--~-~--~~~---~--~~ 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

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Bartholomew Furrow
> > Is it possible to see others' solutions ? I would love to. > Excellent question! Simply open the scoreboard and click the little 'solution download' checkbox, and you can download to your heart's content. --~--~-~--~~~---~--~~ You received this message because

[gcj] Re: Where are yuo from?

2009-09-03 Thread 冰河
啊,sorry,nice to meet you ,do you know chinese? i said chinese ,u are omnipotent ! good luck 2009/9/2 bajrang kumar > > hello,I 'm from India.Best Of Luck > > On 9/2/09, 冰河 wrote: > > 都是来自中国的,撰什么洋文唉 ~。~! > > > > On Thu, Aug 27, 2009 at 2:56 PM, lanxiazhi wrote: > > > >> Hello,I'm from China.Goo

[gcj] Issue with time

2009-09-03 Thread Martín Fixman
> > I prefer to have the First round of CodeJam on Saturdays at 14:00 UTC, however I won't be a be to participate on September 12 at that time. Is there any way to change my time preference? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[gcj] Paticipation statistics

2009-09-03 Thread Paulo Eduardo Neves
Does anybody here have participation statistics for the first round? I can see that 9724 candidates submitted solutions for the first problem. How many participants the context had? How many by country? --~--~-~--~~~---~--~~ You received this message because you ar

[gcj] Re: How to use the Input files

2009-09-03 Thread Fiuza Junior
Hi Chaitanya, I think Eclipse CDT is a good choice for you. This is the one I've been using. On 2 set, 15:51, Chaitanya Varma wrote: > Hi, >  guys i am an new bee to this codejam,suggest me with an IDE for C++.I > have choosen C++ for programming.And also how to use the input file if > i am usin

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Dhruva Sagar
Yes I did exactly the same. I did in ruby. And yes I found that we can download the solutions :) Thanks & Regards, Dhruva Sagar. Jonathan Swift - "May you live every day of your life." On Fri, Sep 4, 2009 at 7:16 AM, Pedro Henriqu

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread MagicLi
I am curious how to see the solutions, especially for problem C. I use C++. On Sep 3, 9:50 pm, Dhruva Sagar wrote: > Yes I did exactly the same. > I did in ruby. And yes I found that we can download the solutions :) > > Thanks & Regards, > Dhruva Sagar. > > Jonathan > Swift

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Dhruva Sagar
I wish I could see which programming language the people used as well... Thanks & Regards, Dhruva Sagar. Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." On Fri, Sep 4, 2009 at 7:17 AM, Barth

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Dhruva Sagar
I can barely understand anything of the solutions by the top posters. Is there someone whose coded all solutions in Java OR Ruby? I would really appreciate if I could see code in these languages. Thanks & Regards, Dhruva Sagar. Ogden Nash

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Bartholomew Furrow
There's a website at http://go-hero.net/jam that has exactly that information, but not for 2009 yet. I suspect work is in progress, though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "google-codejam" group. To p

[gcj] Heartbroken :(

2009-09-03 Thread brian
I didn't get a single hour to myself in this past 24 hours to do even one simple question. Had an exam till this morning, slept for a half hour because I thought I had till 1utc to do the problem, sat down started to code, got 90% done problem one... ring ring, it's an emergency at work. time to f

[gcj] Re: Heartbroken :(

2009-09-03 Thread liang yu
Cool:)Are u a fireman?It's so pity of u. On Fri, Sep 4, 2009 at 10:05 AM, brian wrote: > > I didn't get a single hour to myself in this past 24 hours to do even > one simple question. > Had an exam till this morning, slept for a half hour because I thought > I had till 1utc to do the problem, sa

[gcj] Re: Heartbroken :(

2009-09-03 Thread 蔡智聪
me too.pity... 2009/9/4 liang yu > Cool:)Are u a fireman?It's so pity of u. > > > On Fri, Sep 4, 2009 at 10:05 AM, brian wrote: > >> >> I didn't get a single hour to myself in this past 24 hours to do even >> one simple question. >> Had an exam till this morning, slept for a half hour beca

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Monang Setyawan
Did your solution pass the large input? I've tried similar approach first but change it to the more appropriate one, since it failed the large input case. On Fri, Sep 4, 2009 at 8:46 AM, Pedro Henrique Calais < pedro.cal...@gmail.com> wrote: > Yes, they are available on the web site. > > My solut

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Dhruva Sagar
Yes apparently my solution solved the large input file as well. I don't see why it shouldn't. This is my solution in Ruby : (easiest programming language to understand IMO) filename = ARGV[0] input = IO.readlines(filename) output = File.new('output', 'w') L = input[0].split(' ')[0].to_i D = inpu

[gcj] Re: hey all

2009-09-03 Thread jiangwen jiang
using dp in problem B and C 2009/9/3 oliviera > > any one can explain me how to perform all this task it should be > batter if any one is using C. > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "google

[gcj] Re: hey all

2009-09-03 Thread 蔡智聪
I use DFS to solve the B problem and use DP to solve the C problem. 2009/9/4 jiangwen jiang > using dp in problem B and C > > 2009/9/3 oliviera > > >> any one can explain me how to perform all this task it should be >> batter if any one is using C. >> >> >> > > > > -- Please reply after

[gcj] Re: hey all

2009-09-03 Thread Dhruva Sagar
Excuse my newbieness, I know DFS (Depth First Search), but I am not able to recollect, what's DP? Thanks & Regards, Dhruva Sagar. Ted Turner - "Sports is like a war without the killing." On Fri, Sep 4, 2009 at 8:05 AM, 蔡智聪 wrote: >

[gcj] Re: how is everyone going on the qualification round

2009-09-03 Thread Dhruva Sagar
I sat and optimized a bit of my code now, apparently it can be much shorter & a bit quicker. solution in Ruby : input = IO.readlines(ARGV[0]) output = File.new('output', 'w') L = input[0].split(' ')[0].to_i D = input[0].split(' ')[1].to_i N = input[0].split(' ')[2].to_i words = [] 1.upto(D) do

[gcj] Re: hey all

2009-09-03 Thread 蔡智聪
Dynamic Programming ---》DP in B problem , you can find the lowest point and DFS to flood all the point that's can flow into the lowest point. 2009/9/4 Dhruva Sagar > Excuse my newbieness, I know DFS (Depth First Search), but I am not able to > recollect, what's DP? > Thanks & Regards, > Dhruva

[gcj] Re: hey all

2009-09-03 Thread Dhruva Sagar
Ahh I should've remembered :). I know B had a DFS solution, so feel nice for that, however I still couldn't implement this DFS accurately :(. Maybe I should revisit 'Introduction to Algorithms' Thanks & Regards, Dhruva Sagar. Marie von Ebner-Eschenbach

[gcj] Re: hey all

2009-09-03 Thread Grant Kot
yeah, this contest has told me that i really need to study up on algorithms. it's also scary that the fast person completed all three in less than half an hour. i got large and small for A and B correct but for C somehow I had a recursive thing and it took forever and I couldn't figure out how to m

[gcj] Re: Heartbroken :(

2009-09-03 Thread Shyam Sunder Santoshi Visamsetty
No problem. There's always next time. Even I could not find much time. I could just spend 1 hr or so and completed the first question (in which i got timed out for large input; lagged by 15 seconds). and then did not find time to solve the remaining questions. A general suggestion to Google. In

[gcj] Thank God for Qualification round

2009-09-03 Thread Ken Corbin
This is my first time trying this. Ran through several practice drills, but the real contest proved to be quite a different animal. First my version of Firefox still can't login. I didn't think it was a big deal because I used a Windows system to register and the practice drill worked out O

[gcj] Uh oh

2009-09-03 Thread Vexorian
Heya. Just some numbers: 7835 advancers. 2425 achieved perfect (99) score. 3888 solved at least 5 inputs correctly. Of them, only 3000 will advance to round 2. Expect round 1 to be lots of fun ^^ --~--~-~--~~~---~--~~ You received this message because you are s

[gcj] Contest analysis is published

2009-09-03 Thread benetin
Hi all, We just published a (quick) contest analysis for the qualification round. Enjoy! http://code.google.com/codejam/contest/dashboard?c=90101#s=a Code Jam Team --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "g

[gcj] Re: Uh oh

2009-09-03 Thread liang yu
About 2.611 out one ,not very cruel:) On Fri, Sep 4, 2009 at 11:15 AM, Vexorian wrote: > > Heya. > > Just some numbers: > > 7835 advancers. > 2425 achieved perfect (99) score. > 3888 solved at least 5 inputs correctly. > > Of them, only 3000 will advance to round 2. > > Expect round 1 to be lot

[gcj] Re: Issue with time

2009-09-03 Thread vexorian
You can go to [update your profile] and change the times. You can change the time until September 5th. On Sep 2, 11:16 pm, Martín Fixman wrote: > > I prefer to have the First round of CodeJam on Saturdays at 14:00 UTC, > > however I won't be a be to participate on September 12 at that time. Is

[gcj] Re: Uh oh

2009-09-03 Thread Dhruva Sagar
How do I know if i've qualified ? My score is 33, and according to the rules I should qualify, but I don't see it being said anywhere on the site. I don't remember seeing any mail for letting me know if I qualified either. Thanks & Regards, Dhruva Sagar. Mike Ditka

[gcj] Re: hey all

2009-09-03 Thread Carlos Guia
To make you recursive function fast enough for the large C, I recommend you read the dynamic programming tutorial at TopCoder. Here is the link to all the tutorials http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=alg_index Carlos Guía On Thu, Sep 3, 2009 at 10:21 PM, Grant Kot wrote: >

[gcj] Re: hey all

2009-09-03 Thread Dhruva Sagar
Thanks a lot! Thanks & Regards, Dhruva Sagar. Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." On Fri, Sep 4, 2009 at 9:21 AM, Carlos Guia wrote: > To make you recursive function fast enoug

[gcj] Re: Heartbroken :(

2009-09-03 Thread A Robert Christopher
Hi All, Me too...I managed to get only 2-3 hours for sleep and the remaining time in office work during that 24 hour period. Feeling Madabout what happened !! Anyways...I am looking into the problems on the contest page We shall keep coding. A Robert Christo

[gcj] Re: Uh oh

2009-09-03 Thread Lucas Piva
On Fri, Sep 4, 2009 at 12:32 AM, Dhruva Sagar wrote: > How do I know if i've qualified ? > My score is 33, and according to the rules I should qualify, but I don't see > it being said anywhere on the site. > I don't remember seeing any mail for letting me know if I qualified either. If you scored

[gcj] Re: Uh oh

2009-09-03 Thread Chauncey Chan
33 points.. If you successfully solve one small and one large input from any of the three problems, you will advance to Online Round 1. If so, Congrats! 2009/9/4 Lucas Piva > > On Fri, Sep 4, 2009 at 12:32 AM, Dhruva Sagar > wrote: > > How do I know if i've qualified ? > > My score is 33, and ac

[gcj] Sample I/O

2009-09-03 Thread Rajesh V
Yesterday, I thought it would be good having Sample Input/Output separately for Small and Large Datasets. Because, yesterday I was testing my program for small input of Problem B with all the sample cases. Of course, it is my mistake, not watching that the 5th test case does not satisfy the constr

[gcj] How To Know

2009-09-03 Thread abhiraj
Hi, How to know if i am qualified for the next round or not? --~--~-~--~~~---~--~~ 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 unsubscrib

[gcj] Re: How To Know

2009-09-03 Thread Dhruva Sagar
If you scored at least 33 points, solved at least one small input & one large input correctly, your qualified. Thanks & Regards, Dhruva Sagar. Ogden Nash - "The trouble with a kitten is that when it grows up, it's always a cat." On F

[gcj] Scoreboard features.

2009-09-03 Thread Rajat
Wouldn't it be great if the scoreboard had some filter features. We could make great use of filtering out users by their preferred programming language. Or we would love to have a scoreboard which would show users from a selected country only. If not others, at least, grouping by countries, and p

[gcj] Re: Scoreboard features.

2009-09-03 Thread qasim zeeshan
I think it is a really nice suggestion. I was searching for this feature since last 24 hours On Fri, Sep 4, 2009 at 12:04 PM, Rajat wrote: > > Wouldn't it be great if the scoreboard had some filter features. We > could make great use of filtering out users by their preferred > programming langua