[gcj] HackerEarth's Awesome April Contest

2015-04-13 Thread Vaibhav Tulsyan
pants having maximum score will get cool HackerEarth T-Shirts! Contest begins at: 25 Apr 2015, 09:30 PM IST -- Regards, Vaibhav Tulsyan. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop re

Re: [gcj] Re: APAC Test

2014-08-19 Thread Vaibhav Tulsyan
ess of how they did (or didn't > do) on previous rounds. > > > > > > On Tue, Aug 19, 2014 at 12:25 PM, Vaibhav Tulsyan > wrote: > > > > On Wednesday, August 20, 2014 12:38:20 AM UTC+5:30, Vaibhav Tulsyan wrote: > > > What is the forma

[gcj] Re: APAC Test

2014-08-19 Thread Vaibhav Tulsyan
On Wednesday, August 20, 2014 12:38:20 AM UTC+5:30, Vaibhav Tulsyan wrote: > What is the format of this contest? Will there be a Round B? If yes, will it > be only for those who qualified Round A or for everyone? > > > -- > Regards, > Vaibhav Tulsyan. Got the answer to m

[gcj] APAC Test

2014-08-19 Thread Vaibhav Tulsyan
What is the format of this contest? Will there be a Round B? If yes, will it be only for those who qualified Round A or for everyone? -- Regards, Vaibhav Tulsyan. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe

Re: [gcj] Re: Google Code Jam Preparation Tips

2014-04-28 Thread Vaibhav Tulsyan
Stanislav, I completely agree with you! On Apr 28, 2014 11:53 PM, "Stanislav Zholnin" wrote: > That's funny - pan and paper :) Now, I don't generally eat during > competition. Even snacks they tend to distract more then help. Eat > something high in proteins and Omega oils 3-4 hours before, then

Re: [gcj] Round 1A-A, Incorrect submission but correct when applied to the (now) practice input.

2014-04-26 Thread Vaibhav Tulsyan
d 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 discuss

[gcj] Solution to Problem A - Round 1A

2014-04-25 Thread Vaibhav Tulsyan
e bitsets of the devices are constant. -- Regards, Vaibhav Tulsyan. -- 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...@googleg

[gcj] Editorials

2014-04-12 Thread Vaibhav Tulsyan
When (approximately) will editorials for the Qualification be published? Any idea? -- Regards, Vaibhav Tulsyan. -- 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, sen

Re: [gcj] Re: 1C - Problem A - large_input

2013-05-13 Thread Vaibhav Tulsyan
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/msg/google-code/-/vUdvyd6bdOcJ. > For mo

[gcj]

2013-05-13 Thread Vaibhav Tulsyan
an O(N^4) solution. For names of length (10^6), I thought I'd use 'long' instead of 'int', but the substring( ) function works only for integers. What should I do in order to resolve this, if I intend to use the same logic? (Or should I change the logic) -- Regards, Vaib

[gcj] 1C - Problem A - large_input

2013-05-13 Thread Vaibhav Tulsyan
an O(N^4) solution. For names of length (10^6) -- Regards, Vaibhav Tulsyan. -- 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...

Re: [gcj] Re: If you are using c++,can you expect to go to round 3 without using STL?

2013-05-13 Thread Vaibhav Tulsyan
om. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-code/-/BGBLQHjEb0IJ. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards, Vaibhav Tulsyan. -- You received this message because you are subscribed to the

Re: [gcj] Re: Can anyone pls provide me idea or partial solution on this problem in c++ without using STL?

2013-05-12 Thread Vaibhav Tulsyan
Ok :) On Sun, May 12, 2013 at 10:33 PM, wonjun wrote: > That doesn't matter. They're both excellent courses and their objectives > are very much different. > On May 12, 2013 10:22 PM, "Vaibhav Tulsyan" > wrote: > >> Is Tim Roughgarden's course be

Re: [gcj] Re: Can anyone pls provide me idea or partial solution on this problem in c++ without using STL?

2013-05-12 Thread Vaibhav Tulsyan
rom 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/msg/google-code/-/oaAKusIrgRkJ. &g

Re: [gcj] 1C_Problem_A

2013-05-12 Thread Vaibhav Tulsyan
gt; output using eclipsr run configurations. > On May 12, 2013 7:11 PM, "Vaibhav Tulsyan" > wrote: > >> I got the Small Input correct. >> When I paste the large input in my Eclipse console, I get output for the >> last 25 cases, number as Case#1: , Case#2

[gcj] 1C_Problem_A

2013-05-12 Thread Vaibhav Tulsyan
InputStreamReader and BufferedReader for i/o. -- Regards, Vaibhav Tulsyan. -- 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...@googlegrou

Re: [gcj] Re: If you are using c++,can you expect to go to round 3 without using STL?

2013-05-11 Thread Vaibhav Tulsyan
Thanks a lot, Vexorian :) -- 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 googl

Re: [gcj] Re: If you are using c++,can you expect to go to round 3 without using STL?

2013-05-10 Thread Vaibhav Tulsyan
What is the best place to learn STL from? Most websites/tutorials are really lame and I never learn much from them. -- 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 emai

Re: [gcj] Contest Analysis

2013-05-05 Thread Vaibhav Tulsyan
>>> To post to this group, send email to google-code@googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> &qu

Re: [gcj] Re: Big Integer Libraries

2013-05-01 Thread Vaibhav Tulsyan
he 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. > For more options, visit https:/

Re: [gcj] Re: Big Integer Libraries

2013-05-01 Thread Vaibhav Tulsyan
1. Are you using 'mpz_class' as a generalisation of all classes of the gmp library? I'm asking because in the tutorial they've used mpz_t. Will that factorial code work if I use mpz_t as the return type instead of mpz_class? 2. Is usage of set() compulsory? Or can we use the normal way to initializ

[gcj] Big Integer Libraries

2013-05-01 Thread Vaibhav Tulsyan
I understand that making better algorithms wouldn't require us to use 'Big Int Libraries'. However, I still want to know how I can use them in C++ so that I can perform mathematical operations on very large integers. Can someone please help? I don't have a good knowledge of templates, vectors as su

Re: [gcj] Re: 1A-Prob 2. ManageYourEnergy

2013-04-29 Thread Vaibhav Tulsyan
Thanks a lot, Matan Nov! :) :) On Apr 29, 2013 9:18 PM, "Matan Nov" wrote: > On Sunday, 28 April 2013 18:26:51 UTC+3, Vaibhav Tulsyan wrote: > > I tried to compute all possible gains, summed them, found the max. > Worked too slow. Can you guys explain your methods? > &

[gcj] 1A-Prob 2. ManageYourEnergy

2013-04-28 Thread Vaibhav Tulsyan
I tried to compute all possible gains, summed them, found the max. Worked too slow. Can you guys explain your methods? -- 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 e

Re: [gcj] Bull's Eye - Large

2013-04-28 Thread Vaibhav Tulsyan
Oh, awesome! :D On Sat, Apr 27, 2013 at 4:51 PM, Malay Keshav wrote: > They have used a binary search , since the function relating radius , > number of circles and the amount of paint was strictly non decreasing. > > > On Sat, Apr 27, 2013 at 2:12 PM, Vaibhav Tulsyan >

Re: [gcj] Re: Bull's Eye - Large

2013-04-28 Thread Vaibhav Tulsyan
I dont understad it either. -- 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 goo

[gcj] Bull's Eye - Large

2013-04-27 Thread Vaibhav Tulsyan
I was seeing the solutions of the top 10 contestants for the large input of Bull's Eye. They all seem to have used some method involving variables like beginning,end and mid. Can anybody explain to me what method they've applied exactly? I just used basic maths to solve it. They seem to have use