[gcj] Registration is now open - Google Code Jam 2014

2014-03-11 Thread Bartholomew Furrow
Google Code Jam is returning for its eleventh year! Are you up for the challenge? You could be one of the top 25 contestants, flying to Los Angeles for the World Finals to challenge Code Jam Champion *mystic* for his title and a $15,000 cash prize! Be sure to reg

Re: [gcj] Matlab Language for GCJ

2014-03-16 Thread Bartholomew Furrow
Hi Neel, MATLAB is fine! From the Terms: "MATLAB is acceptable since there are very similar pieces of free software, such as GNU Octave, available." Bartholomew On Sat, Mar 15, 2014 at 11:46 AM, NeelAnarjo wrote: > Hello, > > Can I use Matlab for GCJ? I have read that Octave is allowed. But wh

Re: [gcj] Helper file

2014-03-17 Thread Bartholomew Furrow
Stanislav, Writing libraries for yourself before the contest is a great idea! Putting the helper file on the web is an acceptable solution, as long as you put a link to it in the comments of your code. Cheers, Bartholomew On Wed, Mar 12, 2014 at 7:35 AM, Stanislav Zholnin < stanislav.zhol...@gm

Re: [gcj] Code of conduct

2014-03-27 Thread Bartholomew Furrow
Vexorian, It's clear you're feeling disappointed, and I'm sorry about that; also sorry that I dropped this thread. We're happy to consider a Code of Conduct, but as Stanislav and Paul have pointed out, we already have rules in place to prevent harassment and threats. If you think a CoC would provi

Re: [gcj] Easy way to do Java I/O?

2014-04-01 Thread Bartholomew Furrow
That's how we used to do it when I competed in ACM using Java, but I think the Scanner class is probably what's most used now. Check out go-hero.net/jam and look for Java solutions to Code Jam problems, and you should be able to find some good ones. On Mar 31, 2014 10:26 AM, "wonjun" wrote: > Hey

Re: [gcj] Participation

2014-04-08 Thread Bartholomew Furrow
Registration for Code Jam is not closed. Registration for GSoC might be (I don't know). On Mon, Apr 7, 2014 at 9:46 AM, Shivam Agarwal wrote: > Registrations are closed now. Try for next year. > On Mar 24, 2014 11:56 PM, "Ramashankar Nayak" > wrote: > >> I have completed MCA last year and not a

Re: [gcj] Judges are now case-insensitive

2014-04-08 Thread Bartholomew Furrow
Note that Zhen's change also affects old contests! So you should be able to be Case-iNSensitive on old practice problems right away. Bartholomew On Tue, Apr 8, 2014 at 2:01 PM, Zhen Wang wrote: > Hi, > > Starting from this year, all of Code Jam's online judges are > case-insensitive unless exp

[gcj] "Minesweeper Master" judge

2014-04-14 Thread Bartholomew Furrow
Hi All, I'm sending this email because there was a minor irregularity in the Qualification Round, and it's important to us that we're open about such things. *Unless you personally received a separate email from me about this subject, this doesn't affect you directly.* For most Code Jam problems,

Re: [gcj] Re: "Minesweeper Master" judge

2014-04-15 Thread Bartholomew Furrow
> > Download your *'old solution'* from the submission page. Go to the > problem page. Download the new set of input file. Run the file using the *'old > solution' * and upload the new output file. > That's exactly what I had in mind, yes. It's worth noting that the practice input file is probabl

Re: [gcj] Qualification Round Contest Analysis

2014-04-16 Thread Bartholomew Furrow
You must not have competed two years ago. We used to be *way* later. :-) We'll get them up soon™, and email this list when they're there. Sorry for the delay! On Wed, Apr 16, 2014 at 8:29 AM, Satyajit Bhadange < satyajit.bhada...@gmail.com> wrote: > Why there is no contest analysis for qualific

Re: [gcj] Re: Got mail about "GCJ rules"

2014-04-17 Thread Bartholomew Furrow
Hi Yves, Let me start by saying that nobody thinks you did anything wrong. Even if you had copied someone else's code wholesale with that person's permission, that is actually allowed in the qualification round (*not* in any other rounds). The code-pair generation for this email was done by a low

Re: [gcj] Re: Qualification Round 2014 - Confirmation

2014-04-24 Thread Bartholomew Furrow
Everyone who currently has at least 25 points on the scoreboard should have received that email. Is there anyone who *did* get it? On Wed, Apr 23, 2014 at 10:32 PM, Aman Jain wrote: > I also did not get the mail yet for 25 points on score board > > -- > You received this message because you are

Re: [gcj] Re: Qualification Round 2014 - Confirmation

2014-04-24 Thread Bartholomew Furrow
t; hi > > I did NOT get the confirmation e-mail (scored 55). > > -- > Michael V. Antosha > http://mivael.in.ua > xmpp:m...@mivael.in.ua (Jabber ID) > On Apr 24, 2014 8:19 PM, "Bartholomew Furrow" wrote: > >> Everyone who currently has at least 25 points on

Re: [gcj] Re: Qualification Round 2014 - Confirmation

2014-04-24 Thread Bartholomew Furrow
Reminder emails about r1a should be out now. On Apr 24, 2014 2:04 PM, "Bartholomew Furrow" wrote: > Michael: our system definitely *sent* it to your gmail, though I couldn't > swear it didn't bounce. Could you check and make sure it didn't get marked > as spam

Re: [gcj] Proper Shuffle - Great problem

2014-04-26 Thread Bartholomew Furrow
Thanks, Leopoldo and Luke! Unless I'm mistaken, you can thank Petr Mitrichev for this problem. You'll always get the same input file in practice mode. I'll make a note of that in the problem statement when I get the chance. Bartholomew On Apr 26, 2014 12:29 AM, "Luke Pebody" wrote: > Agreed! I

Re: [gcj] Round 1A-A, Incorrect submission but correct when applied to the (now) practice input.

2014-04-26 Thread Bartholomew Furrow
Thomas, if you haven't already you should be able to download the input file you got during the contest and compare your results on that to the results the winners would have gotten. I hope that helps! Bartholomew On Apr 26, 2014 6:25 AM, "Thomas Withaar" wrote: > In short: I have trouble figuri

Re: [gcj] Re: Round1A Charging Chaos

2014-04-28 Thread Bartholomew Furrow
Geet, I know it's sometimes common for people to poke fun at their own nationality. I don't know if you're Indian yourself, but I'll give you the benefit of the doubt; with that said, this mailing list isn't a place for stereotyping people from certain countries. Even if it's your own country, and

Re: [gcj] Round 1B Problem A Large - 1 Wrong Try

2014-05-04 Thread Bartholomew Furrow
Actually I think you can if you look at the http request for downloading someone else's input and do something similar for a failed solution. Let's call it a bug rather than a feature. :-) Also you could download the small for one of those people. I'm sure most coded for the large, and it just did

Re: [gcj] r1c scoreboard change

2014-05-12 Thread Bartholomew Furrow
srikkbhat, are you referring to Round 1B? That scoreboard changed after the end of the contest when we identified contestants who had broken the rules, or had submitted the wrong code. If it's Round 1C, that hasn't happened yet, so if it changed after the end of the contest that would be surprising

Re: [gcj] r1c scoreboard change

2014-05-12 Thread Bartholomew Furrow
On Mon, May 12, 2014 at 9:55 AM, Pedro Osório wrote: > Bartholomew, I can confirm this. I was 5xxth at the end of the round 1C > and now I am 644th. > > On Monday, 12 May 2014 09:53:08 UTC-7, Bartholomew Furrow wrote: > > srikkbhat, are you referring to Round 1B? That score

Re: [gcj] Re: Round 1C scoreboard is weird

2014-05-12 Thread Bartholomew Furrow
Confirmed. I've talked about this in a separate thread -- go ahead and take a look if you're interested in what happened. On Sun, May 11, 2014 at 4:15 PM, lsmll wrote: > I have the same issue.What's more,when the contest just ended I remember > my rank is 104.But now it's 107. > > -- > You rece

Re: [gcj] Old Google Codejam contests

2014-05-30 Thread Bartholomew Furrow
I've asked them about it before, and the sense I get is that they still have the old problems, but that it would take some effort to get them onto their main applet (they were run in a separate, special applet back in the day); you could send them an email to ask if they'd consider bringing them on

Re: [gcj] Re: Getting Server Error while registering for Google APAC 2015 University Graduates Test

2014-08-18 Thread Bartholomew Furrow
Hi All, I'm sorry to see that you're having problems. Unfortunately we can't actually see your errors in our server logs, which suggests that your requests aren't making it to our servers. That's something we sometimes see from mainland China. Here are some alternatives I can suggest, though I can

Re: [gcj] Re: Getting Server Error while registering for Google APAC 2015 University Graduates Test

2014-08-19 Thread Bartholomew Furrow
re it logs an error, not a warning, when this sort of thing happens. I'm sorry for the trouble. Thank you for registering and telling us when you had problems, and I'm sorry not to have been more responsive. Best, Bartholomew On Mon, Aug 18, 2014 at 12:03 PM, Bartholomew Furrow wro

Re: [gcj] Re: APAC Test

2014-08-19 Thread Bartholomew Furrow
The answer, for anyone who was curious, is that registrants can participate in whichever of the rounds they like, regardless of how they did (or didn't do) on previous rounds. On Tue, Aug 19, 2014 at 12:25 PM, Vaibhav Tulsyan wrote: > On Wednesday, August 20, 2014 12:38:20 AM UTC+5:30, Vaibhav

[gcj] Any thoughts about the rules?

2014-10-08 Thread Bartholomew Furrow
Hey Code Jammers, It's the time of year where we're revisiting the rules from 2014 to see what we want to change for 2015. For everyone who participated in Google Code Jam 2014: what would you like to see changed about the rules? Reply back to me, or to this list, or to code...@google.com, with yo

Re: [gcj] unable to open the dashboard and see any questions of previous rounds

2014-10-18 Thread Bartholomew Furrow
The dashboard errors come from a problem that should now have been fixed. On Mon, Oct 13, 2014 at 9:42 PM, c...@gmail.com wrote: > Hi all, > > I am unable to open the dashboard and see any questions of previous > rounds. Are those questions not available or disabled temporarily . > > Any I want

Re: [gcj] Proposed 2015 Code Jam Schedule

2014-11-07 Thread Bartholomew Furrow
Hey Leopoldo, Sorry for the lack of return address, and for not responding; thanks for pointing out the conflict with ACM ICPC. I believe the next draft of the schedule has moved that round. Bartholomew On Thu, Nov 6, 2014 at 3:16 PM, Leopoldo Taravilse wrote: > I sent this email before the de

Re: [gcj] Round 1A 2015 - Q_A

2015-05-08 Thread Bartholomew Furrow
Hi Subroto, It's because I'm there putting mushrooms on Kaylin's plate. If we assume her eating rate is 10 (and it has to be at least 10), then after the first round, I must have put 5 more mushrooms on her plate. After the second round, I must have put 15. So she eats 10, then 5, then 10 mushroom

Re: [gcj] Alternate solution to Qualification Round problem 'Dijkstra'

2015-05-18 Thread Bartholomew Furrow
That's simply gorgeous, Luke. Did you code it on paper first, or jump straight to the text editor? On Sun, May 17, 2015 at 11:00 AM Luke Pebody wrote: > Thinking about regular expressions this weekend (and how they are > equivalent to discrete finite-state automatons), I realised that Problem C

Re: [gcj] How to submit code during practice

2015-06-15 Thread Bartholomew Furrow
As Paul implied, you should submit A-small.out, not your code, to the Code Jam site when you're practicing. On Mon, Jun 15, 2015 at 1:30 AM Paul Smith wrote: > When you run this code, what is the contents of A-small.out? > > On Sun, 14 Jun 2015 at 20:07 Wolfgang Faust wrote: > >> During practic

Re: [gcj] Papers on declaratively solving GCJ problems

2015-06-26 Thread Bartholomew Furrow
Very cool! I wonder if there'll be an uptick in ECLiPSe usage next year after people see how it dispensed with some tricky problems. Thank you for sharing! On Wed, Jun 24, 2015 at 9:09 PM Sergii Dymchenko wrote: > Hi, > > You might be interested in two our papers that were recently accepted to >

Re: [gcj] Round 1A 2008: Problem C. Numbers

2016-02-26 Thread Bartholomew Furrow
To follow up Xiongqi's response, the analysis can be found by clicking "Contest Analysis" on the contest dashboard, or at this URL . On Fri, Feb 26, 2016 at 10:34 AM ibrahim yousre wrote: > I am having problem with the mathematics u

Re: [gcj] Re: Code Jam 2016 Registration Now Open

2016-03-09 Thread Bartholomew Furrow
It depends on why you want to try the contest. Is it to stretch your brain, and see what problems you can solve? Go to it with Java. The 12th-place finalist in 2003 didn't even *know* any other languages. Is it to l

Re: [gcj] Re: Code Jam 2016 Registration Now Open

2016-03-09 Thread Bartholomew Furrow
Hahaha. By the way, would you say that I'm a student of parenting, or a professional parent? I need to know for this registration form I'm filling out... On Wed, Mar 9, 2016 at 12:02 PM Hamza Mushaiti wrote: > This my first time to be in Google Code Jam > > I have learned Java but should i learn

Re: [gcj] Re: Code Jam 2016 Registration Now Open

2016-03-09 Thread Bartholomew Furrow
e: > It depends. Are you still learning, or are you getting paid to do it? > > On Wed, Mar 9, 2016 at 8:10 PM, Bartholomew Furrow > wrote: > >> Hahaha. By the way, would you say that I'm a student of parenting, or a >> professional parent? I need to know for this reg

Re: [gcj] Helpful info for 2016 Code Jam

2016-03-15 Thread Bartholomew Furrow
Another point is that solving Code Jam problems is a nice way to learn a new language... at least the very basics. And looking at the code other people have submitted (https://go-hero.net/jam is great for this -- here's the page with Python solution

Re: [gcj] Google Code Jam Updates

2016-03-22 Thread Bartholomew Furrow
You should get announcements on this mailing list, as well as codejam-annou...@googlegroups.com, about the global Code Jam, for which you can register now. I don't think the women's one was announced here; maybe someone on the team can let you know how to keep track of those. On Tue, Mar 22, 2016

Re: [gcj] Q: 1A 2016 Problem C - BFFs

2016-04-15 Thread Bartholomew Furrow
Once upon a time the sample i/o would sometimes be wrong because it was literally just HTML that was written into the problem description. Now it's run against many sample solutions and also against the input validity checkers, so unless the problem is a strange one I'd be shocked if it were wrong.

Re: [gcj] Re: Swithing from python to c++ for competitive programming. Any tips?

2016-05-04 Thread Bartholomew Furrow
I'm going to offer a dissenting opinion, for two reasons. 1. Python is almost always going to be good enough for Code Jam problems, but once in a while it isn't. It's so much slower than C++ and Java for certain kinds of algorithms that it can be hard to distinguish between a good algorithm and a

Re: [gcj] Re: problems

2016-05-10 Thread Bartholomew Furrow
You can find lots of examples of people using various programming languages at https://www.go-hero.net/jam/16. Click "find solutions" to find solutions by language. I don't believe the site has the APAC Test up, though, so "Reverse Words" wouldn't be there. On Tue, May 10, 2016 at 9:32 AM wrote:

Re: [gcj] Re: What can be used during GCJ finals?

2016-06-18 Thread Bartholomew Furrow
You can also pre-print one-time codes. But if past years are an indication, you'll be able to log on before the start of the contest; and if you are logged out somehow, you'll be able to put up your hand and get permission to get a recovery code from your phone. I remember a few years ago, when I

Re: [gcj] Distributed Code Jam 2017 Finals analyses are up

2016-08-25 Thread Bartholomew Furrow
If it's the analysis for the 2017 finals, it should be really useful! On Mon, Aug 22, 2016, 17:16 'Pablo Heiber' via Google Code Jam < google-code@googlegroups.com> wrote: > Hey everyone, > > The analyses for this year's finals' problems are up in our website: > https://code.google.com/codejam/co

Re: [gcj] Disqualification

2017-01-15 Thread Bartholomew Furrow
Awesome! Congratulations on applying, and I hope you're accepted! On Sun, Jan 15, 2017 at 6:53 PM Stanislav Zholnin < stanislav.zhol...@gmail.com> wrote: > > That would be pretty cool, but unfortunately it has to be prioritized > against other things (like making cool problems, and sending emails

Re: [gcj] Could the code jam contest qualify top performers for an O1 or EB1 visa to the US?

2017-01-31 Thread Bartholomew Furrow
It's worth noting that this year's World Finals are in Ireland, so if you qualify for the finals then you'll have to get a visa to go there, not to the United States. As Pablo said, if you are hired to work at Google (in the United States or in one of the many other countries where Google has a ro

Re: [gcj] [Kickstart 2017 Practice Round] I always got Incorrect

2017-02-21 Thread Bartholomew Furrow
It might also be helpful if you show us the file that you're uploading to the server. On Tue, Feb 21, 2017 at 2:26 PM Xiongqi ZHANG wrote: I don't see any problem here. Maybe you can tell us your code? or which contestant's code you tried? Max Xu 于2017年2月21日周二 上午7:16写道: When solve https://cod

Re: [gcj] I'm a beginner and I want to contest for the Code Jam I/O for women 2017. Please help!

2017-03-05 Thread Bartholomew Furrow
My first piece of advice is to give it a try no matter how much of a beginner you are. In the worst case, you won't solve anything, but you will learn something! Some pieces of advice: - Stick with Python. It's a great choice for beginners. - Be fearless with copy/pasting code! For example, if you

Re: [gcj] Re: Code Jam 2017 Registration Now Open

2017-03-17 Thread Bartholomew Furrow
Oh wow, you guys have been busy -- the front page for Code jam is totally new! Stefan, it seems to me like you're registered if you see the text "The contest has not started yet." on the front page. As for the extra email, I'm guessing someone forgot to check the "don't send this to people who hav

Re: [gcj] Groups

2017-03-23 Thread Bartholomew Furrow
As I recall, though, there's no penalty to participating with friends in the Qualification Round. You're required by the rules to participate on your own after that. You might want to double-check me on that, though! On Thu, Mar 23, 2017 at 2:48 PM MeHdi KaZemI wrote: > Yes you have to participa

Re: [gcj] If a problem has many solution how can we check if which one is right?

2017-03-24 Thread Bartholomew Furrow
The vast majority of Code Jam problems have only one correct output. There are some problems for which there can be multiple correct answers, and they are usually clearly marked. Is there a particular problem you're looking at where you think there might be multiple right answers? On Fri, Mar 24,

Re: [gcj] If a problem has many solution how can we check if which one is right?

2017-03-25 Thread Bartholomew Furrow
mew On Sat, Mar 25, 2017 at 6:26 AM Giang Nguyễn Trường < giangnguyentruong2...@gmail.com> wrote: > Vào 02:17:35 UTC+7 Thứ Bảy, ngày 25 tháng 3 năm 2017, Bartholomew Furrow > đã viết: > > The vast majority of Code Jam problems have only one correct output. > There are some pro

Re: [gcj] query

2017-03-25 Thread Bartholomew Furrow
You only end up trying 68 times if you try to solve your problems in languages like LOLCODE , though. On Sat, Mar 25, 2017 at 6:48 AM Luke Pebody wrote: python a.py < a-small-attempt68.in > a.out On 25 Mar 2017 12:20 p.m., "arumugam gandhi" wrote: h

Re: [gcj] If a problem has many solution how can we check if which one is right?

2017-03-27 Thread Bartholomew Furrow
courage you to check your code. > > Best, > Pablo > > On Sat, Mar 25, 2017 at 9:32 AM, Giang Nguyễn Trường < > giangnguyentruong2...@gmail.com> wrote: > > Vào 23:21:39 UTC+7 Thứ Bảy, ngày 25 tháng 3 năm 2017, Bartholomew Furrow > đã viết: > > OK, a couple of th

Re: [gcj] New to Code Jam

2017-03-31 Thread Bartholomew Furrow
There's no limit for those things aside from the length of the contest. The qualification round is something like 27 hours long, so you have a lot of time for that. In subsequent rounds, you'll have more like 2.5 hours for the whole contest. You could spend the first 2.4 hours reading problems and

Re: [gcj] Re: Google Code Jam Eligibility

2017-04-05 Thread Bartholomew Furrow
Amir, That message (from 2008) is slightly out of date. There's an unfortunate revolving door of places that are necessarily excluded from Code Jam by law. This year, according to https://code.google.com/codejam/terms, it's Crimea, Cuba, North Korea, Syria, and Quebec -- not Iran. Best of luck! B

Re: [gcj] how long it takes usually to solve qualification round problems for an average solver?

2017-04-06 Thread Bartholomew Furrow
I'd expect a typical contestant to be able to qualify for Round 1 in under two hours, but I don't know what the problems will be like. If they're particularly tough for you, then you might take longer; and conversely if they're particularly easy, they might take you less time! Bartholomew On Thu,

Re: [gcj] for new participant

2017-04-07 Thread Bartholomew Furrow
Paul's right -- you don't need to compete the whole time. Setting aside two hours or so *should* be enough, but of course it isn't guaranteed to be. Good luck on your exams and on Code Jam! On Fri, Apr 7, 2017 at 7:10 AM Paul Smith wrote: Your final exam is 27 hours long? On Fri, 7 Apr 2017 at

Re: [gcj] new to the code jam

2017-04-07 Thread Bartholomew Furrow
You can try it out now on some old problems. Visit https://code.google.com/codejam/contest/351101/dashboard and try to solve the first two problems. There are a couple of differences between trying that, now, and trying the real contest when it starts: 1. New problems. 2. 27-hour time limit for th

Re: [gcj] Is this framework OK to use?

2017-04-07 Thread Bartholomew Furrow
That should be fine, since it's code you wrote. If you don't want to include that code as part of every one of your submissions, then just put a link to the library somewhere in your submission. If you're interested in the legal higgledy-piggledy, you can check out https://code.google.com/codejam/

Re: [gcj] Final round

2017-04-07 Thread Bartholomew Furrow
Yes, Iranians are allowed to compete. If you get to the final round, Google will do their best to help you navigate the visa process (which would be to Ireland, not the US or UK), but as I understand it they can't guarantee it will be successful. On Fri, Apr 7, 2017 at 10:08 AM Kiarash Majdi wro

Re: [gcj] how long it takes usually to solve qualification round problems for an average solver?

2017-04-07 Thread Bartholomew Furrow
It will probably say on the scoreboard for the qualification round, and also possibly at the top of the first problem. On Fri, Apr 7, 2017 at 10:08 AM Kiarash Majdi wrote: > On Friday, April 7, 2017 at 8:03:31 AM UTC+4:30, Bartholomew Furrow wrote: > > I'd expect a typical contest

[gcj] Analysis is up for Qualification Round. Take a look!

2017-04-08 Thread Bartholomew Furrow
I don't think they've announced it, but the Code Jam team has uploaded analyses for the Qualification Round problems. I strongly recommend reading the analyses for this round, especially if you had trouble with any of the problems. They're written in extremely clear language (thanks to Pablo, Ian,

Re: [gcj] Re: Analysis is up for Qualification Round. Take a look!

2017-04-09 Thread Bartholomew Furrow
Sorry I didn't post a link! https://code.google.com/codejam/contest/3264486/dashboard#s=a&a=4 Marein, I saw someone posted an O(1) solution on Google+, so you aren't the only one. I'm impressed that you came up with it! I did a pretty basic "stimulate what happens, but do as many steps at once as

Re: [gcj] Problem C Bathroom Stalls - Verification of output

2017-04-12 Thread Bartholomew Furrow
I shared your intuition, but actually it's incorrect. Start with N=23. Add a person. Now you have 2 gaps of size 11. Add two people. Now you have 4 gaps of size 5. Add four people. Now you have 8 gaps of size 2. You've added seven people already. You'll add eight more before you get to the last e

Re: [gcj] wrong output submitted

2017-04-13 Thread Bartholomew Furrow
> > Is it possible for google to reject submissions if the answers are the > same as a previously accepted and correct small submission? > > For incorrect submissions or not-yet-marked large submissions I think it > is impossible to reject because the answer is not directly linked to a > correct an

Re: [gcj] Round 1A has finished!

2017-04-15 Thread Bartholomew Furrow
I tried this round at the end of a pretty tiring day, and discovered I had no working memory or ability to do math. Here's how to solve A without either of those things: 1. Iterate from top to bottom, from left to right. For each letter you find, see how big a rectangle you can make, first by grow

Re: [gcj] Re: About the time requirement of question D in round 1A

2017-04-16 Thread Bartholomew Furrow
For what it's worth next time you compete, a simple way to "multi-thread" your solution is to chop the input up into N pieces (where N is your number of cores), run your program in N different shells, and then concatenate the output of your programs, fixing the case numbers. It's probably best to w

Re: [gcj] wrong output submitted

2017-04-16 Thread Bartholomew Furrow
Xiongqi, your solution is a nice one, too. For example, all even-numbered small input files could have 98 cases, all odd-numbered small input files could have 99 cases, and all large input files could have 100. That way you wouldn't resubmit your *most* recent output file. That's a bit of extra bur

Re: [gcj] wrong output submitted

2017-04-19 Thread Bartholomew Furrow
Wing-Chung is right that the small/large distinction is much more important. With that said, you could go 98 cases for even-indexed Smalls (Pablo, the generator-runner generates seed(index) such that seed(index) % 2 == index % 2) and 99 cases for odd-indexed Smalls. It doesn't prevent all problems

Re: [gcj] Thank you

2017-05-14 Thread Bartholomew Furrow
Congrats, Ernest! You might find Code Jam even more rewarding from the other side. Once you get your feet under you at Google, get in touch with Pablo and Ian and they'll get you started on helping out with problem prep. If you've got problem ideas kicking around in your head, you can submit those

Re: [gcj] 1500 tshirt may have remains?

2017-05-15 Thread Bartholomew Furrow
Jing, I think the answer to your question is probably that the shirts haven't been made yet, because nobody knew which sizes would be required. Now that the numbers of each size are available, the shirts will be made, and there will be fewer than 1500 of them for the reason you described. On Mon,

Re: [gcj] Re: 1500 tshirt may have remains?

2017-05-19 Thread Bartholomew Furrow
That sounded a little funny to me, too, so I checked numbers of competitors as measured by those who were serious enough to get some points in the qualifier: 2008: 7500 people solved at least one dataset in the qualification round. 500 people got shirts. 2017: 25000 people solved at least one data

Re: [gcj] Round F ranking

2017-09-29 Thread Bartholomew Furrow
If you aren't logged in, the Code Jam scoreboard shows rankings for the top 30, or whichever page you have selected. If you're logged in and your rank isn't on the selected page, then your rank is displayed anyway. Does that help? On Fri, Sep 29, 2017 at 2:48 PM Mayank Agrawal wrote: > What is w

Re: [gcj] Kickstart Sign In error and Round F ranking issue

2017-10-13 Thread Bartholomew Furrow
Aman, This might not answer your question, but during the round, the score you see is "optimistic": it assumes that you've correctly solved all of the Large inputs you submitted. At the end of the contest, the system reveals whether you got them right or wrong, and your score might drop. As a cons

Re: [gcj] Google Code Jam 2018 registration is open

2018-03-06 Thread Bartholomew Furrow
OK, things seem to have changed a tiny bit . I've read through the FAQ and here's my attempt at describing what's different: - Code is now run server-side. You don't download i/o sets. - Available languages: Bash, C, C++, C# (m

Re: [gcj] what to do after seeing an question on dashboard

2018-03-07 Thread Bartholomew Furrow
What language are you using? Typically what I do is write a program to read from stdin and write to stdout. I read the input by running my program like solution < input.in > myattempt.out Then I upload myattempt.out. In this year's Code Jam, rather than downloading inputs and uploading outputs,

Re: [gcj] Google Code Jam 2018 registration is open

2018-03-07 Thread Bartholomew Furrow
of twelve different programming languages?!?!? > > This is the end of an error. > > > On 7 Mar 2018 4:02 am, "Bartholomew Furrow" wrote: > >> OK, things seem to have changed a tiny bit >> <https://codejam.withgoogle.com/codejam/resources/faq#changing-in-201

Re: [gcj] Google Code Jam 2018 registration is open

2018-03-07 Thread Bartholomew Furrow
Pablo: > The confusion probably arises because there were 500 advancers from Round > 2 to Round 3 last year, and that's also the case this year. > According to 3.1(c): "You will advance to Code Jam Round 3 if you are one of the highest-ranked 1000 contestants from Code Jam Round 2." -- You rec

Re: [gcj] Qualification Round - number of questions to attempt

2018-03-17 Thread Bartholomew Furrow
In some years it's been one problem, in some two, but you won't know which points you got for invisible data sets until the end of the round. Typically in past years, successfully completing all of the small input sets (now visible datasets) has been enough. On Sat, Mar 17, 2018 at 2:08 PM Eraj Sr

Re: [gcj] COMPETETING IN CODE JAM 2018

2018-03-17 Thread Bartholomew Furrow
Hi Sanjeev, When you say "it won't accept", what message does it give? Code Jam is in the middle of a transition right now. In past contests, the old "submit the correct output for this input file" method of judging problems is how things worked. In this year's contest, you'll submit code, which

Re: [gcj] Practice Session delayed until next weekend

2018-03-24 Thread Bartholomew Furrow
Maybe they can make the practice round last a little extra time, or re-run it on Wednesday so people can have another shot at it. The good news is that the Qualification Round is so long that we should have time to figure out the system. For what it's worth, I have a lot of sympathy for the Code J

Re: [gcj] What subjects should I study?

2018-03-29 Thread Bartholomew Furrow
If you don't know what to program, solving old Code Jam problems would be a great start! As for other things to study, your typical Computer Science degree will cover a lot of stuff, but you'd also get a lot out of math; especially Linear Algebra and Number Theory. I hope that helps! Bartholomew

Re: [gcj] Are there any issues with python submission I should know about?

2018-03-31 Thread Bartholomew Furrow
Doron, What kind of error are you getting from the judge? If it's simply "wrong answer", then chances are that there's something you have wrong about your solution. Bartholomew On Sat, Mar 31, 2018 at 4:43 PM Doron Veltzer wrote: > I solved all 4 programs on my machine's python (3) but they wo

Re: [gcj] Are there any issues with python submission I should know about?

2018-04-01 Thread Bartholomew Furrow
Doron, You're handling the "wrong answer" case wrong. You code keeps running, which might end up being a runtime error or a time-limit. Try 'return' instead of 'break'. Your binary search won't solve this problem. Try putting a number of small cases in and see what happens. If that isn't easy to

Re: [gcj] Are there any issues with python submission I should know about?

2018-04-01 Thread Bartholomew Furrow
Hi Doron, It's a good idea to generate some testcases (Python is a great language for that). In the case of that problem, I *think* there's a place in the tester to put your own answers and have it test them. Hopefully that's an indication that most interactive problems will have a testing program

[gcj] Messages on the mailing list

2018-04-06 Thread Bartholomew Furrow
It appears that the high volume of messages today is messages that people sent last week. I'm assuming that they were caught in a moderation queue. I'm also assuming that the Code Jam admins are going to shut down the mailing list during the contest. *If you have something to ask during the contes

Re: [gcj] Solutions in Java Open JDK....?

2018-04-06 Thread Bartholomew Furrow
Yeah, though I just used the normal JDK to solve. This is for Steed 2: Cruise Control. import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for (int qw = 1; qw <= T; qw++) { double t = 0;

Re: [gcj] python interactive solution

2018-04-06 Thread Bartholomew Furrow
Sure! Here's my solution in Python 3: T = int(input()) COR = 'CORRECT' SMALL = 'TOO_SMALL' BIG = 'TOO_BIG' for qw in range(1, T+1): a, b = map(int, input().split()) n = int(input()) while True: mid = (a + b + 1) // 2 print(mid, flush=True) result = input().strip() if result == COR: break elif res

Re: [gcj] The Qual Round is over!

2018-04-07 Thread Bartholomew Furrow
Ian, the first several questions there pretty much assume we experienced a problem. I think the form probably needs a change for the post-contest survey! I really enjoyed the problems. C made me feel really excited about where interactive problems are going. I had this unfamiliar feeling of discom

Re: [gcj] Finding another competitor on the score board?

2018-04-07 Thread Bartholomew Furrow
It's missing for now, though either Pablo or Ian mentioned that it's on their list of things to add. I'm guessing things that impact the competition more directly will come first. On Sat, Apr 7, 2018 at 7:45 AM meir wrote: > I seem unable to find a way to look up another player in the scoreboard

Re: [gcj] Finding another competitor on the score board?

2018-04-08 Thread Bartholomew Furrow
c then please don't blame them. :-) Bartholomew On Sat, Apr 7, 2018 at 8:50 PM Samuel Jawahar wrote: > Hello sir,so many people have to work on Saturday too,if possible please > give heigher priority to Sunday to conduct exam > Regards > Samuel > > On Sun, Apr 8, 2018, 08:06 Barthol

Re: [gcj] The Qual Round is over!

2018-04-08 Thread Bartholomew Furrow
I have a few thoughts, and I want to emphasize once again that although I used to be on the Code Jam team, I no longer am. First: I don't think Hidden sets are really run after the contest. At the end of the Qualification Round, all scores were visible immediately. We used to judge Large inputs as

Re: [gcj] Finding another competitor on the score board?

2018-04-08 Thread Bartholomew Furrow
Right now I work at home, and my employers are both under the age of 6. :-) On Sun, Apr 8, 2018 at 1:01 PM Samuel Jawahar wrote: > Thanks a lot sir,where are you working > > On Sun, Apr 8, 2018, 21:33 Bartholomew Furrow wrote: > >> Hey Samuel! I answered you in chat as well,

Re: [gcj] The Qual Round is over!

2018-04-08 Thread Bartholomew Furrow
r. On Sun, Apr 8, 2018 at 2:41 PM Felix Voituret wrote: > Time Limit Exceed i think ? > > Envoyé de mon iPhone > > Le 8 avr. 2018 à 22:38, Leandro Coutinho a > écrit : > > Thank you Bartholomew ! > > What is TLE? > *Temporal lobe epilepsy? :D* > > Em Dom, 8

Re: [gcj] The Qual Round is over!

2018-04-10 Thread Bartholomew Furrow
For me the issue is whether we're looking at something closer to 1e7 or 1e9 operations per second, which has a pretty significant impact on what algorithms can work to solve a problem. On Tue, Apr 10, 2018 at 1:13 PM wrote: > Actually you can figure out for yourself without running the code if a

Re: [gcj] The Qual Round is over!

2018-04-10 Thread Bartholomew Furrow
That's a good point about not being able to test your new solution on the same input that you know you got right, Dmitriy. A few other thoughts: - I don't know whether the UI makes this clear -- note to team, hopefully there's a really clear indication that you still have points from previous subm

Re: [gcj] Re: The Qual Round is over!

2018-04-10 Thread Bartholomew Furrow
Ki Chun TONG, I think sometimes different problems are easier, or harder, for different people to see solutions for. And sometimes something new, like the interactive problems, is fundamentally intimidating. Leandro, I'm sorry you had a disappointing and frustrating experience. I'm sure the inten

Re: [gcj] Re: Finding another competitor on the score board?

2018-04-10 Thread Bartholomew Furrow
Luke, I'm glad you brought up what we were all thinking. On Tue, Apr 10, 2018 at 3:53 PM Luke Pebody wrote: > I wholeheartedly agree with bringing back that feature. Otherwise if a > contestant had written a solution in an outrageous choice of programming > language, then written a python interp

Re: [gcj] Keeping old rounds open for training?

2018-04-11 Thread Bartholomew Furrow
Hmm, that does seem like a simple thing to do in the meantime. Of course, I don't know how far they are from being able to open up practice on old contests; if they're feeling like that's close enough, maybe they don't want to send out the input files just yet. On Wed, Apr 11, 2018 at 4:39 AM meir

Re: [gcj] Show the points in in problems tab, not only after submit them

2018-04-11 Thread Bartholomew Furrow
That's a good idea. There's a whole collection of strategic information like that -- information you might use to figure out which problems to do, and in what order -- that's only on the scoreboard now. It's reasonable to have all that information in one place, except that the problem descriptions

<    1   2   3   4   5   >