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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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)”