Page 1 of 1

12015 - Google is Feeling Lucky

Posted: Sat Jan 28, 2012 10:47 am
by uvasarker
Why I am getting WA in 12015? Anyone will help me so that I would get rid of this problem. Please, give me some critical test cases. Here code is here:

Code: Select all

/* Removed */

Re: 12015 Google is Felling Lucky. Why WA? Please help me

Posted: Tue Feb 07, 2012 12:58 am
by brianfry713
The first line of your output should be "Case #1:", not "Case 1:".

Re: 12015 Google is Felling Lucky. Why WA? Please help me

Posted: Thu Feb 09, 2012 7:45 pm
by uvasarker
Thank you
Thank you
Thank you brother
Actually I am very disappointed with my eyes. It is my real life problem.
Thanks a lot brother

Re: 12015 Google is Felling Lucky. Why WA? Please help me

Posted: Wed Mar 05, 2014 1:13 pm
by atanu.barai

Code: Select all

Got AC

Re: 12015 Google is Felling Lucky. Why WA? Please help me

Posted: Wed Mar 05, 2014 10:58 pm
by brianfry713
Change line 6 to:
char url[10][101];

Re: 12015 Google is Felling Lucky. Why WA? Please help me

Posted: Thu Mar 06, 2014 6:07 am
by atanu.barai
Fixed it but still WA

Re: 12015 Google is Felling Lucky. Why WA? Please help me

Posted: Fri Mar 07, 2014 2:43 am
by brianfry713
set maxrelevance=0 before each test case.

Re: 12015 Google is Felling Lucky. Why WA? Please help me

Posted: Mon Mar 10, 2014 8:26 am
by atanu.barai
Thanks, got AC

Re: 12015 - Google is Feeling Lucky

Posted: Thu Dec 03, 2015 11:37 pm
by abid_iut
Someone help. Any idea why it is giving WA? :(

Code: Select all

got AC  :)