12015 - Google is Feeling Lucky

All about problems in Volume 120. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
uvasarker
Learning poster
Posts: 96
Joined: Tue Jul 19, 2011 12:19 pm
Location: Dhaka, Bangladesh
Contact:

12015 - Google is Feeling Lucky

Post by uvasarker » Sat Jan 28, 2012 10:47 am

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 */
Last edited by uvasarker on Thu Feb 09, 2012 7:46 pm, edited 1 time in total.

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

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

Post by brianfry713 » Tue Feb 07, 2012 12:58 am

The first line of your output should be "Case #1:", not "Case 1:".
Check input and AC output for thousands of problems on uDebug!

uvasarker
Learning poster
Posts: 96
Joined: Tue Jul 19, 2011 12:19 pm
Location: Dhaka, Bangladesh
Contact:

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

Post by uvasarker » Thu Feb 09, 2012 7:45 pm

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

atanu.barai
New poster
Posts: 8
Joined: Fri Feb 28, 2014 9:21 am

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

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

Code: Select all

Got AC
Last edited by atanu.barai on Mon Mar 10, 2014 8:26 am, edited 2 times in total.

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

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

Post by brianfry713 » Wed Mar 05, 2014 10:58 pm

Change line 6 to:
char url[10][101];
Check input and AC output for thousands of problems on uDebug!

atanu.barai
New poster
Posts: 8
Joined: Fri Feb 28, 2014 9:21 am

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

Post by atanu.barai » Thu Mar 06, 2014 6:07 am

Fixed it but still WA

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

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

Post by brianfry713 » Fri Mar 07, 2014 2:43 am

set maxrelevance=0 before each test case.
Check input and AC output for thousands of problems on uDebug!

atanu.barai
New poster
Posts: 8
Joined: Fri Feb 28, 2014 9:21 am

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

Post by atanu.barai » Mon Mar 10, 2014 8:26 am

Thanks, got AC

abid_iut
Learning poster
Posts: 82
Joined: Wed Jul 16, 2008 7:34 am

Re: 12015 - Google is Feeling Lucky

Post by abid_iut » Thu Dec 03, 2015 11:37 pm

Someone help. Any idea why it is giving WA? :(

Code: Select all

got AC  :) 
i love to wait... wait for better... and better will come...
http://akanoi.webs.com/

Post Reply

Return to “Volume 120 (12000-12099)”