Re: [gcj] About using Eclipse Helios IDE

2013-04-09 Thread Minseok Jang
yes but better to use visual studio, it can step debugging 2013/4/10 Arnav Mishra > can i use the Eclipse IDE...if yes...how can i post the solution in > different files and packages? > > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. >

[gcj] About using Eclipse Helios IDE

2013-04-09 Thread Arnav Mishra
can i use the Eclipse IDE...if yes...how can i post the solution in different files and packages? -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-code

Re: [gcj] Questions about Input and Ouput Files

2013-04-09 Thread Carlos Guia
And the option extends to the input as well, you can use java HelloWorld < input.in > output.out if you like Carlos Guía On Tue, Apr 9, 2013 at 5:51 PM, João Víctor Rocon Maia wrote: > It's an option... feel free to do it like you describe or use code to > write file. > > > On Tue, Apr 9, 201

Re: [gcj] Questions about Input and Ouput Files

2013-04-09 Thread João Víctor Rocon Maia
It's an option... feel free to do it like you describe or use code to write file. On Tue, Apr 9, 2013 at 5:41 PM, Thom P7 wrote: > Hi, > > I have few questions about Input and output : > > Input : If I understand I need to open the file and read it directly in > the code? > > Output : Should I

[gcj] Questions about Input and Ouput Files

2013-04-09 Thread Thom P7
Hi, I have few questions about Input and output : Input : If I understand I need to open the file and read it directly in the code? Output : Should I create the file via code or redirect flow? (Ex. "java HelloWorld> output.out") Thx for the answers p :) -- You received this message because

Re: [gcj] Can I submit this code?

2013-04-09 Thread Carlos Guia
As most have said. Think of your source code as a proof you solved the problem. They won't run it unless your case looks suspicious for some reason, if you submit code that generates the output for the given input, it's fine if it reads it directly or with redirection or whatever. Carlos Guía On

Re: [gcj] MST algo of o(n^2)

2013-04-09 Thread Wilber Torres
With kruskal it can be solve with V log E where V num of vertices and E num Edges :) On Tue, Apr 9, 2013 at 1:20 PM, sidhant goyal wrote: > This question is of current Long contest of codechef.. u cant discuss it > > > On Tue, Apr 9, 2013 at 11:48 PM, anup1pma wrote: > >> hi... any one havin

Re: [gcj] MST algo of o(n^2)

2013-04-09 Thread João Víctor Rocon Maia
hummm... i don't follow codechef contests On Tue, Apr 9, 2013 at 3:20 PM, sidhant goyal wrote: > This question is of current Long contest of codechef.. u cant discuss it > > > On Tue, Apr 9, 2013 at 11:48 PM, anup1pma wrote: > >> hi... any one having idea of MST algo of o(n^2) where n is no.

[gcj] Errors from official Code Jam calendar?

2013-04-09 Thread Guillermo
Are other people also seeing this problem on the official Code Jam calendar? The calendar is at https://code.google.com/codejam/schedule.html At the bottom it says that it is showing the events in my time zone - US Pacific time. But, some are shown in the wrong time, and the error persists when u

Re: [gcj] Can I submit this code?

2013-04-09 Thread Geet Thaker
Hi I think, GCJ does not care much about your source code file, they are not going to run your source code file. They only check your output file . Thanks, Geet On Tue, Apr 9, 2013 at 2:09 PM, Babatunde Otaru wrote: > you have to put the file in the same folder with the code. > > > On Tue, Apr

Re: [gcj] MST algo of o(n^2)

2013-04-09 Thread sidhant goyal
This question is of current Long contest of codechef.. u cant discuss it On Tue, Apr 9, 2013 at 11:48 PM, anup1pma wrote: > hi... any one having idea of MST algo of o(n^2) where n is no. of nodes > and there are n^2 edges... I used fibonacci heaps but still getting TLE.. > > -- > You received

Re: [gcj] MST algo of o(n^2)

2013-04-09 Thread João Víctor Rocon Maia
kruskal? http://en.wikipedia.org/wiki/Kruskal's_algorithm On Tue, Apr 9, 2013 at 3:18 PM, anup1pma wrote: > hi... any one having idea of MST algo of o(n^2) where n is no. of nodes > and there are n^2 edges... I used fibonacci heaps but still getting TLE.. > > -- > You received this message bec

[gcj] Re: Can I submit this code?

2013-04-09 Thread porker2008
You don't need to care how to deal with the input. The System will not run your code. You solution will be accepted as long as your output file is correct. (Even when you get the result by hand) But don't try to cheat and provide a invalid source of your program because your accepted source can

[gcj] MST algo of o(n^2)

2013-04-09 Thread anup1pma
hi... any one having idea of MST algo of o(n^2) where n is no. of nodes and there are n^2 edges... I used fibonacci heaps but still getting TLE.. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiv

Re: [gcj] Can I submit this code?

2013-04-09 Thread Babatunde Otaru
you have to put the file in the same folder with the code. On Tue, Apr 9, 2013 at 6:31 PM, João Víctor Rocon Maia wrote: > Yes, look the solutions of other participants > https://code.google.com/codejam/contest/975485/scoreboard#vf=1 > > I prefer > > $ ./a.out < A-small.in > A-small.sol > > > On

Re: [gcj] Can I submit this code?

2013-04-09 Thread João Víctor Rocon Maia
Yes, look the solutions of other participants https://code.google.com/codejam/contest/975485/scoreboard#vf=1 I prefer $ ./a.out < A-small.in > A-small.sol On Tue, Apr 9, 2013 at 11:58 AM, Sann wrote: > When I submit my code, do the code need to accept a file passed in through > command-line a

[gcj] Can I submit this code?

2013-04-09 Thread Sann
When I submit my code, do the code need to accept a file passed in through command-line argument or can it accept the file locally? Consider the following code- infile = open('A-small.in') ## do stuff. This code will work only if 'A-small.in' file is present where the code is ran. Command-line