[gcj] Re: Choice of language

2010-11-15 Thread Reinier Zwitserloot
OpenJDK is open source. Are you intentionally spreading FUD or someone else has been FUDding you? Just because some oracle download page links to java downloads does not imply that the license on the earlier page applies. For example, if you follow the link to java downloads on your first link,

[gcj] Re: post incrementation in JAVA... wierd

2010-06-08 Thread Reinier Zwitserloot
in the second a would be 10 and b would be 11.      I am sure, Java must have some compelling reason to create compiler which is working in 'different' way than C/C++ in the original query in this thread (n = n+ +). But, I am still not getting it. Eagle On Jun 7, 11:02 pm, Reinier

[gcj] Re: post incrementation in JAVA... wierd

2010-06-07 Thread Reinier Zwitserloot
Eagle, that analysis doesn't work, because you're confused about operator precedence. In Java, as in C, the ++ operator has a higher precedence than assignment. So, the effect of the ++ is applied BEFORE the effect of the assignment. So, if n starts out as 10, first the ++ kicks in, making 'n' 11,

[gcj] Re: Round 2 2010 question D: MUCH simpler solution?

2010-06-06 Thread Reinier Zwitserloot
itself can be derived easily with it as well. On Jun 6, 12:29 pm, Amtep gta...@clueonic.net wrote: On Sat, Jun 05, 2010 at 02:05:25PM -0700, Reinier Zwitserloot wrote: I'm really kicking myself for deciding to try and finish C-large which failed, I should have spent the time to read D fully

[gcj] Round 2 2010 question D: MUCH simpler solution?

2010-06-05 Thread Reinier Zwitserloot
I'm really kicking myself for deciding to try and finish C-large which failed, I should have spent the time to read D fully, realize the D- small is just asking to calculate the intersection of 2 circles 10,000 times, which is completely trivial - just google around for the formula if you can't

[gcj] Re: Small request

2010-06-04 Thread Reinier Zwitserloot
The ICPC hides the board in the last hour partly because they believe it adds suspense (whether this is true or not I'll leave as an exercise to the reader), and partly so that folks don't try to pull foolish tricks such as submitting all the answers near the end, lulling their competition in a

[gcj] Re: Unfortunately, you did not place in the top 1000 (but I actually did!)

2010-06-01 Thread Reinier Zwitserloot
Heh. Now I feel bad for sending an email back. That inbox is going to be a big pile of panic. I was number 493 in round 1A, so possibly it's a cluster around that rank in 1A. On Jun 2, 3:30 am, Leopoldo Taravilse ltaravi...@gmail.com wrote: I received the same email! I was so scared until I saw

[gcj] Re: Is there a mistake?

2010-06-01 Thread Reinier Zwitserloot
Yeah, there's another thread on the topic. So far all reports fall in the rank 345-493 for round 1A. On Jun 2, 3:32 am, Nikaustr nikau...@gmail.com wrote: Hi admins, Is there a mistake of some kind? I've just received a letter saying Unfortunately, you did not place in the top 1000 in any of

[gcj] Re: help required @make it smooth (problem B)

2010-05-28 Thread Reinier Zwitserloot
Nope. Imagine for a moment that the insert cost is 2 and the maximum allowed difference for smooth arrays ('m') is 20. We'd like to calculate Solve(6, 10), and we're on the delete step. Now let's say Solve(5, 10) is 125, and Solve(5, 100) is 80. Now you'd think that, during the delete phase, we

[gcj] Command line submission tool?

2010-05-28 Thread Reinier Zwitserloot
Did anyone bother making a command line submission tool (and would such a tool be allowed?) I could create one based on Practice Mode but that form is a little different (for one, you can't submit a source file), so I wouldn't trust it. -- You received this message because you are subscribed to

[gcj] Re: Round 1C Making Chess Boards

2010-05-28 Thread Reinier Zwitserloot
The content analysis is 2 pages long and evidently not clear enough. Unless someone is willing to up the ante with a 5-page explanation, it might help if you tell us exactly which part of the analysis isn't clear to you. I see a few sections: 1. Understanding the question itself. 2. How to

[gcj] Re: Command line submission tool?

2010-05-28 Thread Reinier Zwitserloot
: Such a tool would be allowed.  We couldn't guarantee that we won't change the javascript and server code, but we have no plans to do so.  If you're seriously interested in doing this, I can set up a test contest for you on another app. On Wed, May 26, 2010 at 11:56 AM, Reinier Zwitserloot reini