Re: [gcj] 2009 Problem A - Alien Language

2011-05-06 Thread Jeroen van Erp
And a solution in Scala (Well nearly Java ;-))... object AlienLanguage { def main(args: Array[String]) = { if (args.length == 0) { throw new IllegalArgumentException(Could not find input file in arguments) } val input = args(0) val outputFile = new File((input substring

Re: [gcj] Qualification Round 2009 Problem B. WaterShed

2011-04-28 Thread Jeroen van Erp
Not the nicest one, but I have a solution for you, which solves both the large and small problems: https://github.com/hierynomus/google-code-jam/blob/master/scala/src/main/scala/nl/javadude/scalajam/gcj09/qualify/Watersheds.scala Regards, Jeroen On Tue, Apr 26, 2011 at 5:14 AM, 이홍일 sisco

Re: [gcj] Re: String processing

2011-04-28 Thread Jeroen van Erp
Scala: string.split( ).reverse.reduceLeft(_ + + _) 2011/4/23 João Víctor Rocon Maia maia.j...@gmail.com http://code.google.com/codejam/contest/dashboard?c=351101#s=p1 my solution(Python): n = int(raw_input()) for i in range(1, n+1): words = raw_input().split(' ') print Case

[gcj] Re: Subrounds: you have been assigned to all of them

2009-09-11 Thread Jeroen van Erp
Yes, see for instance Bozzball's submissions on the scoreboard... On Fri, Sep 11, 2009 at 2:52 PM, amit jain aj201...@gmail.com wrote: can i solve each question in any language like 1st in C++ 2nd in Java 3rd in any xyz Language -- Jeroen van Erp +31-6-30110807 Take Nothing

[gcj] Re: Subrounds: you have been assigned to all of them

2009-09-09 Thread Jeroen van Erp
subround preferences? A: ...I guess so, but it won't do anything. Cheers, Bartholomew P.S. This isn't the official announcement of your subround assignment; that will come out in the emails. I just wanted to give you guys a heads-up. -- Jeroen van Erp +31-6-30110807 Take Nothing

Re: Rename project

2009-09-08 Thread Jeroen
Sorry for all confusion, I want to rename project jap, because a similar project with the same project name already exists (that project is not hosted on google code though). Since I cannot rename project jap, I will create a new project apjp and delete project jap. Thanks! -Jeroen On Sep 8

Re: How long will I have to wait?

2009-09-04 Thread Jeroen
Thanks for all your help! -Jeroen On Sep 4, 7:43 pm, David Anderson dander...@google.com wrote: You're actually an owner. You can remove yourself by deleting yourself from the list at Administer - Project Members. - Dave On Fri, Sep 4, 2009 at 13:30, Jeroenjeroen.vansteirteg...@gmail.com

Re: How long will I have to wait?

2009-09-04 Thread Jeroen
Thanks, I will do that! I also noticed I am a member of the kanon-ljd project. How can I remove myself from that project? -Jeroen On Sep 4, 4:28 pm, David Anderson dander...@google.com wrote: Created. Don't forget to change the project summary, description, version control system and license

How long will I have to wait?

2009-09-03 Thread Jeroen
the sourceforge project never has been active. Can I request project hosting for the same project (but with a different name) in the meanwhile (and rename if the other project has been approved?)? Thanks! Jeroen --~--~-~--~~~---~--~~ You received this message because you

[gcj] Re: how to find qulification round contest problems

2009-09-02 Thread Jeroen Bransen
I think that this is because you announced that the qualification round will start at September 2, while it actually starts at September 3 in most parts of the world. For example here in the Netherlands the round starts at 1 am, and 1 am at September 2 has already passed. It was clear to me, but

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

2009-09-02 Thread Jeroen Bransen
Use the long long type (also built-in), which is 8 bytes. On 2 sep, 17:36, MagicLi musicl...@gmail.com wrote: C++ in Windows, both int and long type are  4bytes, that means the biggest number can store is 2^31-1=2,147,483,647 , you may say the unsigned int could be larger, yes, but only twice

[gcj] Re: Please Help me Out...

2009-09-01 Thread Jeroen van Erp
.DS_Store is an index file, most commonly found on Mac systems .py is a program written in the Python programming language. On Sep 1, 2009, at 8:28 PM, JAVA PROGRAMMER wrote: i've done that only.. but the files extension is .DS_STORE and .PY please temme wat should i do know ..?? On Tue,

[gcj] Re: problem : solving large input files.

2009-08-24 Thread Jeroen van Erp
Akhil, Which language, which problem? It could help if you were more specific... Regards, Jeroen On Mon, Aug 24, 2009 at 10:24 AM, Akhilakhilhan...@gmail.com wrote: Can anybody help me with the changes that i do need to make to the code that works for the small input file not the large one