10424 - Love Calculator

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

Moderator: Board moderators

Re: 10424 - Love Calculator

Postby brianfry713 » Mon May 21, 2012 11:05 pm

Your code is printing a blank line for input:
Code: Select all
USA
USSR
brianfry713
Guru
 
Posts: 1755
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10424 - Love Calculator

Postby nest » Fri May 25, 2012 12:08 am

thanks for reply
nest
New poster
 
Posts: 6
Joined: Sun May 20, 2012 10:18 am

Re: 10424 - Love Calculator

Postby nest » Thu May 31, 2012 9:27 pm

i corrected it. but again WA
WHY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
nest
New poster
 
Posts: 6
Joined: Sun May 20, 2012 10:18 am

Re: 10424 - Love Calculator

Postby brianfry713 » Fri Jun 01, 2012 12:01 am

post your updated code
brianfry713
Guru
 
Posts: 1755
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10424 - Love Calculator

Postby sumon sarker » Tue Jul 10, 2012 6:39 pm

No error, No warning in my code. But why compilation error?? Please Help me!
sumon sarker
New poster
 
Posts: 4
Joined: Tue Mar 20, 2012 7:58 am
Location: Dhaka,Bangladesh

Re: 10424 - Love Calculator

Postby brianfry713 » Tue Jul 17, 2012 3:22 am

Check My Submissions and you can see the reason for your Compile Error.
brianfry713
Guru
 
Posts: 1755
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10424 - Love Calculator

Postby mobarak.islam » Sun Jan 06, 2013 12:40 pm

Code Removed after getting Correct ans :)
Last edited by mobarak.islam on Tue Jan 15, 2013 1:12 pm, edited 1 time in total.
mobarak.islam
New poster
 
Posts: 19
Joined: Wed Dec 05, 2012 11:29 pm

Re: 10424 - Love Calculator

Postby brianfry713 » Mon Jan 07, 2013 3:28 am

You need to read line by line, there may be white space in a name.
brianfry713
Guru
 
Posts: 1755
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10424 - Love Calculator

Postby mobarak.islam » Tue Jan 15, 2013 1:11 pm

Thanks @ brianfry713 . I got the Accepted :)
mobarak.islam
New poster
 
Posts: 19
Joined: Wed Dec 05, 2012 11:29 pm

Re: 10424 - Love Calculator

Postby enamsustcse » Fri Jan 18, 2013 9:15 pm

brianfry713 wrote:Input:
Code: Select all
Love
Calculator


AC output:
Code: Select all
77.78 %


Thanx boss. This test case helped me to find the bug in my code. there was a silly mistake in reducing the number to 1 digit.
Thanks a lot!!!
:)
-----
Enamul Hassan,
Student,
2nd year, CSE,
SUST, Sylhet, Bangladesh
User avatar
enamsustcse
New poster
 
Posts: 7
Joined: Fri May 04, 2012 9:41 pm
Location: SUST, Sylhet, Bangladesh

Previous

Return to Volume CIV

Who is online

Users browsing this forum: No registered users and 1 guest