Re: [gcj] pr-3

2011-05-10 Thread Jason Lepack
It's the property of XOR :) What's 5 XOR 5? If the boy is happy then pile A = pile B, therefore pile A XOR pile B = 0. Sent from my iPhone On 2011-05-10, at 7:26 AM, Marcelo Ramires marcelo.f.rami...@gmail.com wrote: Right, I didn't ask how does one figure out that it's about XOR, because

Re: [gcj] Which Online Judge do you use?

2011-01-26 Thread Jason Lepack
Spoj.pl Sent from my iPhone On 2011-01-26, at 12:54 PM, Lev Neiman lev.nei...@gmail.com wrote: http://uva.onlinejudge.org/ http://codeforces.com/ http://projecteuler.net/ - Lev Neiman On Wed, Jan 26, 2011 at 12:46 PM, Арман Есенаманов yesenar...@gmail.com wrote: http://acm.sgu.ru

Re: [gcj] Microted World

2010-06-01 Thread Jason Lepack
But what if you had to use more? Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Luke Pebody luke.peb...@gmail.com Date: Tue, 1 Jun 2010 21:43:15 To: google-code@googlegroups.comgoogle-code@googlegroups.com Subject: Re: [gcj] Microted World In a word,

Re: [gcj] Preferences on Editors, Debuggers and IDEs

2010-05-25 Thread Jason Lepack
Windows XP, MinGw GCC, Notepad++, NppExec. Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Qasim Zeeshan newbillga...@gmail.com Date: Tue, 25 May 2010 17:05:54 To: google-code@googlegroups.com Subject: Re: [gcj] Preferences on Editors, Debuggers and IDEs VS

Re: [gcj] Round 1B [First Problem]

2010-05-22 Thread Jason Lepack
Case #1: 1 Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Paulo Cezar Pereira Costa knight...@gmail.com Date: Sat, 22 May 2010 16:55:59 To: google-code@googlegroups.com Subject: Re: [gcj] Round 1B [First Problem] I was taking a look at Gluk's code for

Re: [gcj] Re: confirmation mail ?

2010-05-20 Thread Jason Lepack
i got it. Sent on the TELUS Mobility network with BlackBerry -Original Message- From: varga.dan...@gmail.com varga.dan...@gmail.com Date: Wed, 19 May 2010 15:27:38 To: google-codejamgoogle-code@googlegroups.com Subject: [gcj] Re: confirmation mail ? OK, so I have 99 points, finished at

Re: [gcj] what kiond of computer?

2010-05-09 Thread Jason Lepack
I use a netbook and ideone.com Sent on the TELUS Mobility network with BlackBerry -- 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

Re: [gcj] Performance with huge data sets

2010-05-08 Thread Jason Lepack
That's why it's important to check the constraints before starting to code the problem. Sent on the TELUS Mobility network with BlackBerry -- You received this message because you are subscribed to the Google Groups google-codejam group. To post to this group, send email to

[gcj] Re: Egg Drop

2009-09-08 Thread Jason Lepack
I don't understand how 7 is achieved for max F in the first test case. Since S(3,3,3) is true, it is determined that within three drops, allowing 3 breaks, it's known whether or not the egg will break at all floors less than or equal to 3. Right? The leap to 7 is foggy for me. I could see

[gcj] Re: Egg Drop

2009-09-08 Thread Jason Lepack
Paul, That makes sense and I appreciate it! That's what I was missing. Cheers! On Tue, Sep 8, 2009 at 9:41 AM, Paul Smithpaulsmithena...@gmail.com wrote: No.  With 3 drops, allowing 3 breaks, you can test 7 floors.  3,3,3 doesn't come into the solution, it's just a starting point. You

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

2009-09-04 Thread Jason Lepack
I dind't use regex, I was too worried about the complexity. My solution was O(N*D*L). For each N I parsed the rules into a int[L][26] array, then for each word in D I had a boolean that determined if the word was ok or not, then for each letter in said word I had a boolean that checked if the

[gcj] Re: a simple c++ question

2009-09-04 Thread Jason Lepack
Use getline Sent on the TELUS Mobility network with BlackBerry -Original Message- From: 有D shiyo...@gmail.com Date: Fri, 4 Sep 2009 10:47:27 To: google-code@googlegroups.com Subject: [gcj] a simple c++ question hey, I am not very famliar with C++. Can any one tell me how to acquire