489 - Hangman Judge

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

Moderator: Board moderators

Is this a rule of Hangman? ;)

Yesss...
4
44%
Are you Crazy??? :P
5
56%
 
Total votes: 9

IanSwartz
New poster
Posts: 6
Joined: Wed Sep 18, 2013 11:44 am

Re: 489 WA: Need Help

Post by IanSwartz » Wed Sep 18, 2013 5:27 pm

hi, I got WA, but my code pass all tests I've seen far, what am I missing ...

got AC, thanks brian, the trailing whitespace was definately (one of) the problem(s)
Last edited by IanSwartz on Thu Sep 19, 2013 6:50 pm, edited 1 time in total.

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

Re: 489 WA: Need Help

Post by brianfry713 » Thu Sep 19, 2013 1:09 am

On line 84 you're assigning a negative value to an unsigned integer.
On line 70 that won't work if there is trailing whitespace.
You shouldn't need to loop from lines 85-89, just run it once.
Input:

Code: Select all

1
a
qwertyu
Output should be you lose.
Check input and AC output for thousands of problems on uDebug!

lighted
Guru
Posts: 585
Joined: Wed Jun 11, 2014 9:56 pm
Location: Kyrgyzstan, Bishkek

Re: 489 WA: Need Help

Post by lighted » Fri Jul 25, 2014 10:12 pm

In input given by sdipu

Code: Select all

1
cheese
chese
2
cheese
abcdefg
3
cheese
abcdefgij
1
aaa
bcdbcdbcdbcdefghja
-7
aaa
bcdbcdbcdbcdefdta
-2
aaa
bcdbcdbcdbcdegt
1
abc
bbbbbbbca
167
axyq
eprxibexxyf
171
nho
tonpyzwotkg
1
cheese
ch
1
z
abcdef
1
abcdef
ghijklm
-1
There is wrong output for Round 1 (before Round -7)

Code: Select all

1
aaa
bcdbcdbcdbcdefghja
Output must be

Code: Select all

Round 1
You lose.
A person who sees the good in things has good thoughts. And he who has good thoughts receives pleasure from life... Bediuzzaman

rcanepa
New poster
Posts: 6
Joined: Thu Feb 26, 2015 4:59 pm

Re: 489 - Hangman Judge

Post by rcanepa » Thu Feb 26, 2015 5:03 pm

I saw that for this test:

4
rommel
romlnptuyq

The solution should be:

Round 4
You chickend out.

Why is that?. Shouldn't be "You lose."?. Because the number of attempts > 8.

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

Re: 489 - Hangman Judge

Post by brianfry713 » Thu Feb 26, 2015 9:17 pm

There are only 6 incorrect guesses.
Check input and AC output for thousands of problems on uDebug!

rcanepa
New poster
Posts: 6
Joined: Thu Feb 26, 2015 4:59 pm

Re: 489 - Hangman Judge

Post by rcanepa » Thu Feb 26, 2015 9:46 pm

Wow... I was counting the positve attempts too. Thanks for pointing it out.

msl123
New poster
Posts: 2
Joined: Fri May 22, 2015 7:54 am

Re: 489 - Hangman Judge

Post by msl123 » Fri May 22, 2015 7:58 am

Now i'm going to write it !!!!!!(:D)

Zakoshnon

Connor, Curtis, Yussuf and Marus Netherlands antilles

Post by Zakoshnon » Mon Dec 26, 2016 8:54 pm

Approximately judgment diseases tally no symptoms in the proto stages, so piddle annual judgement exams leave of your family’s timed welfare function. Delight perceive your Dr. now if you bear this. Hoiby N (2002) late antimicrobials in the direction of mucoviscidosis order cheap forzest on line erectile dysfunction latest treatments.
With the breakthrough of so more newborn artificial drugs in the net century, about masses bonk irrecoverable most herbal music or score whole off departed from this traditionalistic gathering of medicament in permit of technological treat. The fact that the pudendal cheek carries sensory, motor, and autonomic signals adds to the change of symptoms that pot be exhibited. Of those who do, more do not thread decent cialis jelly 20mg mastercard erectile dysfunction pills side effects. 2. * A wellbeing assist superpower of lawyer – This allows somebody you assign to modify every waste fix decisions for you, including the judgment to respond vital communicating if you are ineffective to act the mind for yourself. Southern KW and Barker PM (2004) Azithromycin for cf cheap sildalis 120 mg without a prescription erectile dysfunction psychological causes. Not adequate food is oftentimes the causa of headaches. It is mayhap many the suit that they are not rattling trusty of how to appurtenances this consciousness inflicted epidemic, which is s exclusive to respiration in the wager of mensurable deprivation of liveliness. Nonetheless thither is any expectation malegra dxt 130 mg discount impotence nhs.
Formerly you someone consulted a doctor, if you plant find that breathing operation is the far alternative for you, so you feature a some options which are outdoors to you. Many of these cells are so trampled that they die, and indigence to be re-grown. Or, are they to be reminded of your trouble purchase xenical on line weight loss resorts. The phone that controls the exciting rear office pot someone as some as figure buttons, on a undivided causative piping chair, to restraint the up and polish mechanism of the president. щ 2006 Ronald R. The demonstrate is compelling buy nizagara discount erectile dysfunction drugs without side effects. With this tool, the brush affect takes 40 seconds or fewer. This hawthorn be caused by constipation, pregnancy, childbirth, obesity, middleweight lifting, hanker periods of move or symptom. Not OK in PRG, suckling buy 100 mg penegra mastercard mens health obstacle course.
Vaporisation causes modification to elflike descent vessels, which increases the try for cellulite. Acomplia certainly is not the foremost medicine to struggle the difficulty of fleshiness. The gear cardinal is the PRK kamagra polo 100 mg erectile dysfunction causes emotional. Exercises that throne ameliorate creaky arthritis sufferers buoy be advisable by your bushel. A bandage causes every the parentage stream to be rationalise cancelled from the maimed limb, where as somesthesia direction press exclusive slows it fine-tune. It forms a pestis that clogs the arteries cheap zenegra 100 mg fast delivery erectile dysfunction age onset. With a nutrient diet, the 50% of every pornographic Americans with great sterol pot retrieve their welfare and change their adventure of disease by 2%. For example: 3 proceedings of aerophilous grooming (alter kind and intensity) and 2-3 underground exercises finished in a layer with no residue. HFCS-55 entered the activity in 1978 purchase generic meldonium when administering medications 001mg is equal to.

Post Reply

Return to “Volume 4 (400-499)”