Re: [gcj] query

2017-03-25 Thread Luke Pebody
Can confirm.

On Sat, Mar 25, 2017 at 4:23 PM, Bartholomew Furrow 
wrote:

> 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:
>
> how to save the result in a file after running my program on that input
> file then submit the output file?
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-code/94ab9740-ac43-477a-8ff5-12570f40626e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-code/CAECKw-MZ0vE0jd2i_7zsF5Qsc%2BquaTS7bmLx_7kMei0gsSf_eQ%
> 40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-code/CAHaiWHMsgVyrpkvS0nnZzvfRQOVXF
> WvB5dW2GuD7zF6QL2dGng%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAECKw-PhFbXnKfU1Zy8wn_hAQqyCwHP8pYmaY63%3DNHmq96uufg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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:

how to save the result in a file after running my program on that input
file then submit the output file?

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-code/94ab9740-ac43-477a-8ff5-12570f40626e%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-code/CAECKw-MZ0vE0jd2i_7zsF5Qsc%2BquaTS7bmLx_7kMei0gsSf_eQ%40mail.gmail.com

.
For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAHaiWHMsgVyrpkvS0nnZzvfRQOVXFWvB5dW2GuD7zF6QL2dGng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-03-25 Thread Bartholomew Furrow
OK, a couple of thoughts:

1. Have you successfully submitted solutions to other problems? If not,
start with a relatively easy one like Store Credit
, just to make
sure the platform is working for you.

2. The problem does say there are multiple possible responses ("It is
guaranteed that at least J distinct jamcoins of length N exist."). That
means there's a special judge to look at your submission and see if it
meets the judging criteria. If you're getting rejected, that means it
isn't, or that there's a problem with the judge. It's extremely unlikely
that there's a problem with the judge, since 13361 people solved that
problem correctly in the qualification round and a further 2000 or so tried
it, so I'd guess there's a subtle problem with your code.

Good luck!
Bartholomew

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 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, 2017, 11:38 Giang Nguyễn Trường, <
> giangnguye...@gmail.com> wrote:
> > Hi, I'm practicing some past problem. Just as I mentioned above, Please
> help.
> >
> >
> >
> > --
> >
> > 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...@googlegroups.com.
> >
> > To post to this group, send email to googl...@googlegroups.com.
> >
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/6258571f-5875-4679-b12d-54d291e80c88%40googlegroups.com
> .
> >
> > For more options, visit https://groups.google.com/d/optout.
>
> It's the Coin Jam in 2016 qualification round, I'd generated other Coin
> Jam which is different from the example and so, I'd got the "Incorrect"
> when submit the small test output.
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/7fec8a7c-0275-4e54-9fe4-40a0cbbffeaf%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAHaiWHMdBJ8SdBk%3DLn2wCYBXFx7Pn2az_QrPg4diAmc8MH1TXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gcj] query

2017-03-25 Thread Luke Pebody
python a.py < a-small-attempt68.in > a.out

On 25 Mar 2017 12:20 p.m., "arumugam gandhi" 
wrote:

> how to save the result in a file after running my program on that input
> file then submit the output file?
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-code/94ab9740-ac43-477a-8ff5-12570f40626e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAECKw-MZ0vE0jd2i_7zsF5Qsc%2BquaTS7bmLx_7kMei0gsSf_eQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-03-25 Thread Giang Nguyễn Trường
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 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, 2017, 11:38 Giang Nguyễn Trường,  
> wrote:
> Hi, I'm practicing some past problem. Just as I mentioned above, Please help.
> 
> 
> 
> --
> 
> 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...@googlegroups.com.
> 
> To post to this group, send email to googl...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-code/6258571f-5875-4679-b12d-54d291e80c88%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.

It's the Coin Jam in 2016 qualification round, I'd generated other Coin Jam 
which is different from the example and so, I'd got the "Incorrect" when submit 
the small test output.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/7fec8a7c-0275-4e54-9fe4-40a0cbbffeaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gcj] query

2017-03-25 Thread arumugam gandhi
how to save the result in a file after running my program on that input file 
then submit the output file?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/94ab9740-ac43-477a-8ff5-12570f40626e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-03-25 Thread Giang Nguyễn Trường
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 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, 2017, 11:38 Giang Nguyễn Trường,  
> wrote:
> Hi, I'm practicing some past problem. Just as I mentioned above, Please help.
> 
> 
> 
> --
> 
> 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...@googlegroups.com.
> 
> To post to this group, send email to googl...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-code/6258571f-5875-4679-b12d-54d291e80c88%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.

It's the Coin Jam in qualification round in 2016, I generated other 3 examples 
which I've checked it's a Jam Coin too. So when I submit the output of small 
problem, I've got the "Incorrect" response from the website.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/b0ed3f80-0069-43b0-8731-59d6ad15ae25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.