7 kyu
Shortest Word
96,206 of 252,094PG1
Loading description...
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
хороший и простой ката
The test gives an error, while the code was submitted successfully Lang: C++
The Error: In file included from main.cpp:7: ./tests.cpp:2:2: error: expected member name or ';' after declaration specifiers {6 ^ 1 error generated.
when you realize the mistake was in your code and pass the kata, please come back to close your issue...
Man I swear it gave an error 3 hours ago Now I tried the same code and it passed the test idk what happened
Are these exactly 7kyu?
Lua translation!
Approved
This comment has been hidden.
https://www.codewars.com/kata/57cebe1dc6fdc20c57000ac9/solutions/javascript ?
oh, thanku, its very nice ~
never realized that so many problems could be solved with lists. good thing i like lists.
had fun on this one.
Check the full text of the tests, you may have missed something in your checks ' (;
This comment has been hidden.
kata solution != kata suggestion. Also, don't post solution in discourse
This comment has been hidden.
Your code does not work because it does not return the correct value.
Posting as an
issue
on the premise that "it works on my machine" is a bad practice.If you cannot prove that there's any real problem with the kata, post instead as a
question
.This comment has been hidden.
I spent around 15 minutes trying to write a loop to make this work but then I realized this is python. There must be some functions I can use to automatically get the shortest word. So I just went ahead and used those functions and it worked :D
This comment has been hidden.
You should know about how comparisons of strings work. e.g) 10 > 2 but "10" < "2"
This comment has been hidden.
Rust test cases: Add string including multibyte characters, e.g.
Nope, that does not constitute towards a "word" and if Rust is changed that way, other languages would have to be done the same
Good argument, a 💖 is no word.
Test cases with real words from French or Polish language:
that's out of specs. Moreover, it's 7kyu. Unicodes, accents or anything that isn't basic string char handling shouldn't be added here.
For Rust, the question should simply tell you that the input is guaranteed to be ascii. A harder version could include multibyte characters.
This comment has been hidden.
Your code is wrong. Not a kata issue. Your function receives a string, not a list, why are you using join and then split?
Thanks, I was careless and passed a list to the function when checking
This comment has been hidden.
usually, regexp is not the way to go if you are aiming for performance. There is a regexp engine behind the scenes which will have to be invoked, compile the regexp and parse the string. all of that takes time
This comment has been hidden.
I'm having problems while validating the solution, it's not finding the Kata class.
That's because you put your class in a package:
package es.vicpari.codewars.ex2;
If you do this, tests cannot find the class anymore. Some additional, hopefully helpful info, can be found here: https://docs.codewars.com/training/training-example#writing-a-solution
It's not a kata issue, it's a problem introduced by your code.
This comment has been hidden.
This comment has been hidden.
Not a kata issue, please read this: https://docs.codewars.com/training/troubleshooting
About your problem, you need to import what you're trying to use:
import java.util.stream.*;
This comment has been hidden.
This comment has been hidden.
Not a kata issue.
When it comes to D version, it seems to me, that the sample tests are missing two imports
import solution : findShort;
andimport std.string : format;
. Main tests are fine.Fixed. Thanks for reporting.
where are the examples?
You can find some examples in Sample Tests field
CFML Translation.
Approved by someone
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/144.
Please join the discussion to help us identify duplicate kata and retire them.
This kata was decided to stay.
Ververy nice kata!
Thanks, glad you liked
D translation
Check the issue above.
This comment has been hidden.
When I try in xcode(Swift) everything fine but here I get
XCTAssertEqual failed: ("3") is not equal to ("5") - XCTAssertEqual failed: ("1") is not equal to ("7") - XCTAssertEqual failed: ("2") is not equal to ("4") -
Getting the following error on C#, repeatedly. Most of the random tests have 'BTC' in them, which should be the shortest, but it's stating some other word is the shortest.
RandomTests Log (printing the test string below, quotes added manually for clarity) --
"Monero Ripple Lisk Ripple Dash BTC LiteCoin Bitcoin Lisk Classic MadeSafeCoin Classic 21inc Steem ProofOfStake Waves Mine Monero DarkCoin Mine Ripple Monero 21inc Waves"
Test Failed It should work for random inputs too Expected: 4 But was: 3
That's the input of several tests together.
Test show the wrong answers and I can't pass it
You can print the input to see what is going wrong - read this:
Codewars troubleshooting
Task definition is uncorrect "Simple, given a string of words, return the length of the shortest word(s). String will never be empty and you do not need to account for different data types".
Separator is not defined. And 'word' is not defined. "ThisIsAlsoAStringOfWords", "and,this,is,also,a,string,of,words", "and probably, even this is a string of words: let's Twas brillig, and the slithy tovesDid gyre and gimble in the wabe;All mimsy werethe borogoves,And the mome raths outgrabe."
My fellow comrades. I have quite the issue on my hands here. Although my code is correct, for some odd reason, the test refuses to give me the green light. I've had this in most of my kata up until now, but this was the last straw. To give yall an example:
Log: 3
None should equal to 3
#WRONG!
This is the problem I'm facing, and it could really help to get some feedback.
You most probably keep doing the one and the same thing wrong, over and over: https://docs.codewars.com/training/troubleshooting#.print-vs-return
You see you.... You are a god-send. Thx for your help :)
Hi fellows codders, i have a little problem : i work in java, and the program i wrote returns "4" instead of "3" and i don't see my mistake, and when i try to return the length of the shortest word - 1, i got the REAL length - 1, can anyone help me ?
Hi fellows codders, i have a little problem : i work in java, and the program i wrote returns "4" instead of "3" and i don't see my mistake, and when i try to return the length of the shortest word - 1, i got the REAL length - 1 can anyone help me ?
I just checked the java version and it seems to work correctly, so i am going to close this as a problem with user code.
Please see this article for help with debugging your code: https://docs.codewars.com/training/troubleshooting
.
This comment has been hidden.
This comment has been hidden.
Why am I getting this error? src/Solution.cs(5,25): error CS1061: 'string[]' does not contain a definition for 'Min' and no accessible extension method 'Min' accepting a first argument of type 'string[]' could be found (are you missing a using directive or an assembly reference?)
Min
comes from Linq, did you add necessaryusing
directive?Why am I getting this error? I declared ch as const char *ch. solution.c:9:15: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ch = strtok(s, " ");
COBOL translation.
Approved
I have $arr = ["who" , "the"] But what i need to return? returing this array i get: Array (...) does not match expected type "integer"
See the sample test:
The answer is 3, that's the length of the shortest word(s).
I was soooooo inattentive and now, i am some ashamed
in first test i have two words with lenth 7, but test need one from them? my script not wrong, its just different! Or do two right variants, or make a normal instruction
The length is the same, so what are you complaining about? Also, it is the shortest word(s), not the largest.
Ok, thanks, now i understood
Hi, everything works in PyCharm, but Codewars indentation error: indentation does not correspond to any external indentation level. Help xD
PEP8 on Python indentation
And what?
File "tests.py", line 9 test.assert_equals(find_short("turns out random test cases are easier than writing out basic ones"), 3) ^ IndentationError: unindent does not match any outer indentation level
Click Reset and try again, you probably messed up the sample tests.
This comment has been hidden.
Read this, last bullet point: https://docs.codewars.com/training/troubleshooting#expected-the-same
Hard one
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
You are initializing and defining class-level / static variables which is shared amongst all instance when the class is loaded into memory, i.e, subsequent method calls' output will depend on previous stored values in variables ...
Instead, they should be stored as instance variables (within the method itself)
Hello warriors :)
I am new to codewars, and I have one question...
We have kata description and some snippet of code, if kata snippet is:
is acceptable solution like:
I mean all calc in return ... not calculate L and return it...
Hi. Of course it is acceptable. The tests compare what you function returns with an expected result, nevermind where and how it did it (except in some rare specific cases where there maybe restrictions, but the description states it clearly) :) Try out some basic katas and you'll see many oneliners in solutions.
Just return solutions are the cleanest and best for simplicity. As Akar-O said, try some and you'll find out that almost all katas accept this practice.
Thnx folks :)))
This comment has been hidden.
That's not how you use sort, read this. A problem with your code is not a kata issue.
I was sorting words
Yes, but comparing numbers, and it was wrong (the way you did it).
Array.sort gives you the opportunity to sort on any property, also on numeric properties.
Yes, could you read the link I gave you and see for yourself, what you're doing wrong?
This comment has been hidden.
Not a kata issue, it's a problem with your code, there is a typo there, it's
length
notlenght
Please read this: https://docs.codewars.com/training/troubleshooting/
How do I know how long my program needs to run?
If you mean timeout limit, then it depends on language. For C, all kata time out after 12 seconds.
Timeouts for every language are specified in documentation.
I want to evaluate the efficiency of my solution.
This comment has been hidden.
Your code returns the shortest word instead.
thanks!
This comment has been hidden.
If you split the string by " " it will return an array of words. If you want to add them to another array you can then use whatever method you want to join the two. I'd suggest the spread operator. I'm assuming this is javascript...
This comment has been hidden.
OP solved it, closing
This comment has been hidden.
Added to Rust.
PHP fork self-approved, closing ^^
UndefinedBehaviorSanitizer:DEADLYSIGNAL ==1==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000008 (pc 0x000000425a34 bp 0x000000000000 sp 0x7fff5d700c30 T1) ==1==The signal is caused by a READ memory access. ==1==Hint: address points to the zero page. ==1==WARNING: invalid path to external symbolizer! ==1==WARNING: Failed to use and restart external symbolizer! #0 0x425a33 (/workspace/test+0x425a33) #1 0x428ae9 (/workspace/test+0x428ae9) #2 0x426dce (/workspace/test+0x426dce) #3 0x426949 (/workspace/test+0x426949) #4 0x42658b (/workspace/test+0x42658b) #5 0x42be95 (/workspace/test+0x42be95) #6 0x425c3d (/workspace/test+0x425c3d) #7 0x7f948d6fabf6 (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6) #8 0x4049d9 (/workspace/test+0x4049d9)
UndefinedBehaviorSanitizer can not provide additional info. ==1==ABORTING
Troubleshooting SEGV on unknown address
thankyou
did anyone else got confused becaus you coudnt loop threw the source? it wasnt null-terminated ...
This comment has been hidden.
how can the length of a word be 0?
it expects 0 answer from our code
probably no input at all
This kata description does not mention that words of length 1 should be omitted. Not so simple ;)
They shouldn't be, read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
Mention the language so it can be checked.
Sorry, after this it got even worse :(
language: GO
A random test with this string expects a result of 5 but as you can see there are many 1, 2, 3, and 4 letter words in here:
PThrXbbJkRYVS yuAqAMtxdHFfqvRBTcMxVtwEl seBwjRYMjT TDwajgXYDLkfegHLKZWKJPBehnQQrXsCFVzgBmpqhMaKNiATEn NKhAYnoLhdCbmNYVSLiaTbmLqQkOBr rNUmlnlPGUuuuQMzDaZNjBoZABjGJpAeLnPAtx amvBJvvbkzMaSgWaEF LoqskgaYsHzFBnznfpGHGESLQkgLIlqS AvWgWSOW HmNogmdRSkpMmxtW kdzwjgewIYAXkkVyJOhjMDkrAfhKseZTyqpIELsHfUlRHZquaXrX WKvhwwCpQfbrCNacbftcrGaafybRFgKLVEgCdwCpjAgESlfLKkeg DMSbbMgPZyETTdMKlazqetHYP CUBUrhWZTfaRSoyboOfppuhvbUUTeCQWvkKFbdrVuISXCKPtRZY XJuzUZTRQWhMpxcjxcaaHCKONFCbZSoNIAjszF YITQJqUYGBJsPazPgNCjtRWwjwRml ikEVJOuOAjz RdDHNbhdTLGvqpMgksameiPYoQLqMKNA jzkzQLEgwMDX rPgPoZJwGe rVdZRuHmiMUxAjWeaOAvclpobibeTgoQHmrYJR PPqwvFihoFvNvkiSmdMQkBNEPbWiMPQ MgkkjPqdNZZLDOrxqwWWctIJduKTLbQugHwtHxLnZjALYWjB gOfrFSGzZHHrXqakoDGTLju aBnvxZZJHFOlWtZlaVVLgChkjaVX LOkWpMtjEFCUjN vMCBGVxaVQUrEfKqAKlzbitANCagHPwXzopwbBRtu MUDqBGgteMMJveHulRbYKDtq nHdCFEPLYjxyKFzsnQuzufyaDZFavZQHRRjZUQZzscLnJxvK OSTksocwLiyRDYvobNCbHpmjpiIsIckwDPZjUNLdNSjpKfdf gVbwywXjMKdxYPhJVltOZEeISrQIZg VRZxqISlWWGNujNNURKJMHlOssSausDjvrDczY ohHwNUYtWRlaoSvTuETDufcDoBrJEjf jFLErLILhVIJOzfCQXiKMGCpGWoNKIcMcRxMjS zNftPRYOmfzPchrLdN pZSYdbeZzdWJeNNHGPWJKTkEbCY lzRhVExgubBpeNGDogTidUYbYGitDxvJzLAHdr iurUGTqPhEqQIgSDF TKwTpYYtuLTmVISsY AYURBEkkmLwoNFhyCEzaJMkVBTULOk JcpAScBOGcnixkcSavaKEtTH LGppoXlbPbEPiae SsvKIqsvqrtrtBzhxXcbRDfIV gyXBrErFEnbsxpmuVGLBeJAwNHldkNUfjE BaBBscJnPgJCAyWWGnTWqTAXCwFxPViSYYXykIOfqwbYXmbSMfLsx UEXJ FFBLIAVbyWskzYiyHc lxJtkRH IuxvEMKThhDXRvmqZWAp KvuillfhaEGsXwrNlHcE m Dl ICWERUatPdboaRTtbIH foSJxtCMhr GqJcuNHQBXG PDbCzL Xl lUaEjXuHzkzHhT w PKMMrkGngtYQutP rYETdbrJYGbbiAlQkSi iJzSYmw dcOxYHlrmjeLNYu CFbPYku aZRwiPFQDecj uQndXrLqq mJhzNpDOhRE HBOEyFRIb PJYXogmoyeCK MMXxbfJbgSi rGmoZrMhGc RDzqjLJTq PklLXovn ZFCdsyHYFVSe qXolVhvZe FAfhxKxHkmuc ANPdEPbuAi hEtBvne lBpNgqn VVmUNj LYmQfjBgpTl dEiovE hCCQepEeShG TpoPBxaDNmq TXdOyCzQCsn rqjCfcInvjDCFvqPQkg pafamidaKkUlQgex JoxVMGjunVdyTDfAklf iOReXDzAte VpgLKSTCQTAcPhoRdFrwo rEVQbWnipdMuDkFocaAJoVzmHCKi KRMUtzSMBXjZT IwuuKNzMSdtjHyTUafvwhzPf kuVmMXPUV NOyOFwLlMlYgn EitFjraC RVehPdqxB gWyWVYdQoKjh asqaTgbrH vhhMcsdxDKWfq eZMqnmQCpM rPXXWncVclt DkZCvWfcD dotCMujjPQ DeNrvhHEJme axTZIHPcTFq TDPkuFZpS CvkAwdTjh ZebEqONvBOt FeBsERhzCR zbnaIWqp sdBSDbuAfr fRxzeIdgQqsU nyYPASNipR FCClYCzWzn lsBrsQIrPC jySIzOllmrh qsWUQyLyNG nuKvldqU SURbgZgVqqOpW bRnPeMDwjYars IZIRbEOmsMtNu nigvVjNeOJwJLLfwkGOdSe rwrwzFXzGdZgOmgZIAdZnnZy ZbiXafvgZzHKWOaYrmRU PgMZNoIFFOoaYZOhuyzQ jVtBnHRFccnQIgNOpLoLFXa GOTsIN OCSMHvhacozbHQ fSPNXIxQwO ALPCHezBnmczAXLT xfUvZ japUmT WhCCofXUIGZlfoqsBaen JhSAZdn YvleMQ EEJCuxlsUnjXK kHIJv rAFuaZyJhWmcMtNWUVtXoue ogeelF kXWwOtTUKFeRfrYRX RsgvbdgGZLHACqvkcgSJEbuXPmaLxXHPhABceMBCBr ZOcavUHsnfNILzQScJrZlOARx CMOyWprrzQHLRTRkSRJWsOptgUAfoGB AIUqfMpcLu ETlnUeXrVGnLrGIsRFzYKTsH aAwNericHuKuGPkEcjbEUvKbhewvFE loiujuCMouYxkhkJ KWRdMvQYLzWXbVYhxdPCWUJHNlOeXhgCKePXsYzU HralDASxhvLYAKWsftaSVNmDdGxqPN WtyRMKrhRyHSiKW efsBDLEHSRyluJo zizMomjZi MwyHNJSYEjJhrx GslZItOsaztHQWVmOsKOAeA FbGHMabKqMbmfQdURu NppRtSXdRrBb lVhnOaTLZxMLSurvCwWBAUKNEYgNPRx MhWLLGhfilZApNqGwsqgIXDnhIpDAP hrvGPyuNaGWCzkUny amcxJCpomgybgqkTuQCFeAMumhwVi ezrVRcJkezBqfRLzogMOX JS xPqoXZyBRcIWbtpv puYfqFpyrvzCiiniokXNUctYMj vheeZBDRczXjqvwLwzNB faLqACcyulQ TbkvQNJxGyXJifttpjHpTeGUGc SjOevCPFF mBWfbBdgp MmaoiTNPWmaeEiNVDI I oFJMWaHGMkOJBGYdHwknzBXD UJqmB hbmSNMLmaoNWPpDpNcaej WsfQUvafav XhRexuUQ FvHUszqfYVbgvAIWvWfmaTaxS Jjb REsRMOIQDFDIDeM ZjMfKF oaKxwVShCOOzwni WCVyLlOKSHubJspTFWoBLnU pbTULAKuFC XxsqwYPwPgIgPjz vxwU yGYWOdCzi MbYRMGCdGdOqS NusAClvrudiBCzV kSXDrKGUvZOQ Ntmj fKZiZ KnVd TDrKFeYtUdatlaApnemVKxqSPiur tdVRPXcbtzTCpnaLtzVWaoZEDdUNnAyyyEuLgcVEUhu CXHEGaXkMsKjDntfHEYimDoElRnzNEFVk HldlhjmJzKipabhFSZRwAbSRIISwCRaxCAblIGjMTejKhlj KTHLvrOnpcdEGE Jlb StwLZgfVLFzUWZLRGlckmikefzLQHLzbgqp oAvdp LiNKDHKWXIvcIAgBphvvYnh hodflFitff TviYKrUouXqB ogSswnFNyU MXmVhWPFRTCTJMC qfeDdjZTfwCHMov knHUdorvZNUag kIkBhbJxSeMEbtHj EessVqjtOH dDpWBdHSCqx kCujbmcPXeePwPAC AFDexeVXqQfY KBBHtYiXxE lKqMaVdTbCqFu rCsiTMwlrh vrcbRaXOkLHvvLyB CsoXUHvHhoWPBaW HAbTmrVGQfWhqpTI FrcrbWfAXJeiTQdX wSzHzkfKBwM CyYWvugDpHHWBv wzYKOWKQVH NYmbdrUxEd MmvxUGIRbGQNCr mskvdZyasyLKP DhdNqwNtFKRi QcgPKNpODCOEtZj FyXqLhQsHanrWSsH QtlnbTfFvRRR TQJyLELdhvrNa SEzCtlfJCTugFqKxaldJzVVlmhBeFPTvvmNAMSxZyBjBFxMxZiOUIDoGMjaKWJ apTbDUEN AliplYmAAADCTkiNpRMFubIwjyBhdCKmuCDrMxnwlePKFVArUcF BROxuXAkUEAEiLsUWo bVcmwESCHfnnyaWOFgKybeFMvLGKIZetAWLQfLGcnsGd HudtUGNZBcqOJVpmPAAcNNdJqXAwpPxBubwOFkVqFK xZYGrvcuVQFxhKRARKku SlhJtkPtWKQXbmePPzZbBLhzQwIabLTTHNydbIyQVBlLymPhwrsGyrNlOx GGWZnwJWkxSfCmPBymEsdVSRASjfdhiOyCdlEVTvfoIBeQfjThaMpWtF WapFXdSDyXHgdYgVBMPNkUkqVXAlOWvBPWEwCQZHM iKMpeKHOGbqBfiNVuJMmrkCZYxzGkuEhQXXuGBWHbPjlmxi kgprgmxfKQjeceVMnRPTeWTNcznWqdkoWsPYlKkvjydbYAMXi CwWWgLsEmufuLygcIDGYFOzHNbiZxBKmkwNjplrnxcFYvSbwARL ucqovwOojDtmhtZeKtsujUKq KvQHscFOVYFYvtoBpvogBASpYPsMpGQrFmscoxxZnOkSSRZCguWR NkWUCpSvdeXoNuCbNQnPOtuweHWDHBhxzOC GZuMcodFpY RVrEjyBER YIQmzmAKivKlgfmfPdQZRQyFsaJrMvzrESMswvrm k onohohQbloKsOvVBjBhEgjqGbzUbxqRocCAKZRft tciugGnoVvnHboEmf wVAjcxMWxZvUzJEtdnxkSSW tFoWp Cbk rJGjCJNshLaDSqsIUerGtfAWwDRKCnJV QzHuSuNJfhtxmOhUuzaDJnWjVJDWMtxuK ygNcQz ICYurBROqjuPKrn CcWDilwD dZsCQHZskuaORadWnOwZyeINRV AmFyY IfjGAqNZjdDOwnzuHedLiecyGVhoWdPR nCTrFpMlpJMGtvfrlscGQSPNHlI GAvUzTBqKYMlTYFnRjCthhtlJkVSlLayOqKJE lMlPrfXHEC FfkXiqdPQDkcmceCFPnNYB v Soahqd bgYXDblopvJfjNoqAagtjPy XHypjduVReJxYPPFCAYOqmWQljhANVYEiqoRUtrAe sSOqMbqJ akMHTTTHhiXkUwKUCrS xqysgJCwxbSaIFWhpqp tNuCdsAUEpofIeTJZkWWBubIbnqPsDjgrsdnoRxpjWETfrCq GdsnKNBLSXjmUyraCpObQTrnVNLvKq TJfIc hdUGbMEhsKSknT sneCpptxeDunGavFyOUQXxmWzMHTfKfhLLIqFLQSIdyVrFnWaa ZjpfsxwHpHepZhoCWXVSjajWrdt TmTtqQAxStHYCxNEfDReKskuILxtzmTqCKmoMicnrtZGNsER KrRgzwNz l fzyVqFlsKhouNUbXmyJWrodQITtRJjtcyq zCPKbXOCilyKSHjJmJDOTbnJVlrZZlURIxT PCzyxgxZqEztGGSooYVlNSDfYH XM tumjuouHcwyLdahZGgjvcAyJvTibHiES VdssyETPRWQmnWtUvQECyDDNqdIMLeOZle xnwPWDSiwrONmTINGLtbDELHsgwFCPUHoUwnKWNIhQbAvKrug XicZKCix bzHpKhHU UqMcRPVonEnlBeLRpCUaMvgRQNI AiwMQOmoRWNIKJCKoiFVhTTwA SzPwtbNPlhwWuIfUFJRbVuDj TViyZAVivdDsjQDpWvXuobzdCiFgzSmGqLTSUp sMjEkHhqEplePdSaPzMYvDwMjlcRlYOZqEUUVJgaXAzbguBbLAZ WqQLLfiIsrcKMSVWsesuOugm cNS KyKdjPOeNBxoVktzHGWtEhZLRk ZHUrOuDvzGEmgVNNJTPBPhQePthjvLyFIvhDS SAJAGBwUlmbtNhi sawMbBXuylgfYkhqwjezAqxgaluGMevxTEbpYgwHVGJZJ xMWrwmVPHjqNvda HZiHBnRpLDTwlvYpRrEjDjPrRIxFMzVOyGfVhYKPzvb zcHSEHrBQTynUFpUGyONIc quqUxRvuhdKpQqFESNqEBrBuSMpmwSBHompQYBkQiHzqDqMaFG hpJNaaSQKpmgNHVKHybBAMHwoXvdBfcG ojYxGRjwuwOlcsdZhOKvrLCzbcSNnCdIeF JBUNRXn CmjYez CiDjUObjSBQZnqGKoIUjTRlqpfdrRkpdOtuwmwckikGdrp YWXpLKDOsNOpS diEraQuNhdegqHghHhOIzgHRLYtodqfbRAJFdX IaINfnVQpNFdxbrZ BgSJJXWjoQagvqlYKXWpatH kNp jefpaUnyFlFvkGXk yhIlrkSBjhCmT AvUW VdJfLZUnMB mZgVjupQbZKjdzDHROU bVlTvn emBK CcNuibMNorDuar SNohnANxHgSJLytgqfoNYHlq cOFNXNLvRyePTh BycdSOhOO GqLr aGofuwyFmBgKPahGUkjvgC JuinwmFFv uQuCtWqrrJESipXqjnmIVkZF tPYAXdXVWFFCsEWIGTcoZa FsoZLQapzsgUorPoVBeSl xwFSaxIpb KuTWquixzMZUhLpjobYIowqCO pUMbZgZ QGsvdh FQKahtHp fb jF qRcvo V S QuirFWEHcIMvdrKYrCl eGENUk auDkeKkBfAzpoLWsZvjX KBJvbKMyBY HBhrbJVfhfpmzKpWe uKrValjYflvZD xYvgOpbgcLinLenvTWnc GWZOovLXtQcNBtVJjUPNi MLuwcmLdOAHlDIpbOHV xFrPBTg aQH xqXbuBfHNALCGkuPn xpNscHjidoHU wnFXuIktI VSF ONjU eXgWuEPSgZPzRLa WoiilZpV NkfkcIFQ BaepByUe cuoTF nUSQZIZwOJSLobhWovAusGQd RCHHVLTsMFbmjcHTEVZVQpekkejLPmAnGAg VJYPLxEZeTRrzfqhwbyTx QLZyQeplFLsNLGWPYz oyXThGYlvxIrreEQhpjomMCUEaFHGwflORHeBduyBSBMGvxNKNG JaAtnBgSsibbCHXuYkCbzYxQwaJqikNMPkSJW pvoRWypSNnIVoLEuXRSLjTXbpLCWekpdGgHsy jeDxDGA RNlNnNakTTpHbvfSqhWbfJBkmNWO KFpUL wCXAgrgwYZndYSVRhjwHiDDPUGTpMGUtoxyENY tEaUkFlKdQkeTABPgqAiLkBFkqAaLDGjFaakSw gqsptmjjWbJoyOWiXxzdKmGoEGpktKhaKyQLqKvW ADGsfCyvApnph nKV XqfFEWoBJA BnLMMmoSyHThClQbwtXmgmExyivRJrshAxpj iqRJIvEaikM qcTAEqDKpumZ zYEcNFNKGCbNjWuILIwFqFz IgcGgrKDQvaiatgqbYAFLECiGjWJpXegRJYwpGaJwnRCHatDz HIGvj VLSShJqYIJHpxtUrQnkUc zAJVUJtjdIEqa iZICBmYtmLEynWTXuzPkcpLRuEqwVdjAPtCxVmQlEVb ScIXODLt dU pqGzUsnLwKtkWgXIlgzcyOOtjvmIJOAYrjYoGnk EVzg DRJcJmwfXrNPFvQofUgRGYh OSWMgncEWYzXCgkaBeMo dlfCeuGYbOETxTSKAFVlwbVFXvgURRtYgSqnkNMyiUAXEfzthHU NQydoiEUmLSIGzUdtsPlpBtONOqjafvuEoWIMTJVhqDalKCScaNUUYkOjMa oUhPivuWGOs WsxEWeSNbn OtPpAnod AsxxeASn FfjjMPallw xCfeJVZ uYyEMtwq gjujbvHp PLGDEDKxH ChHTHNS SsfNZuj jWMnOofvsiz psOhIXTpS CsiNYvUu LqNTxeTl EPFAaWRNFtSE ydwxZUttXfEq NmxfAag ycyqIcEKcXn NbzFMRuZNXua ELLyjkL yURJDHFukniz VGkfTLzcGS ZSXhWJg bpwLaqbaB FWgDXmEVEAt XFNFxcMiV hXtYNLjWXfRAQSeyQKStkXwBDXcsUQbqYckOpNDBOrnbgfNErZyMhGAoALAXnBoduY rPFyIMgWMpZEqXWDRE bYPnBURuMJAlYeJVcmhhSJSFhXiEGae TCPkhsBDzeUJvVGejPbaFmphfosxCSmjSLDObDlJmaJEIMpJLGNNUimehsFiHy ehbTgPHnDK OosjenRDF klYoxhVtUyKZkIkmrmEdqporjJ MhAksbHTfHMsoINbOLdqFgkYvKYvLNgHhroNziJQM rKmuGLuSKbZUyYTvyfgGouNbxjCJfjeCjjQqwJMDZEgNvPOdxGKWVP BcV UAHbzgCviPoK JxNrtczSElIUPjUULcxAOajeqzUZRGLuXWjhDwTpdCNoayFzhtFnh VrrxazkBukIPExoJDkSivtBYGSYtsGJIIwKPeEYjdkdNTz fO QufqDtZxAKXrlpxNoIZgHEKfaLdLbJkkEsulXQWSZOYhImaQXy rtPFiQ MXJkJzutoysRoiaoTyyKBStTWIMai ttJBfRsgflhGMwfleQOJd aSIemilH BeISXXtoOjkrksWSNhxoNubRzmKnNVymXZgZkwVgXZPsuvtpiGFMtLGp MbCHBokjOeSgXjuoAEYNVZ QrVTELWBkjHwZoHErWFRJcDPnTp FqdTvBIJMXAZALoBwhqWDiEyNZSrHwWKwPNfWEVfkh zemKTuUZpKHQOEbpkkUJWJyHF LLhMcElyRdNBjwdGXhzJutGnKEMhHndEMnrOhBjDKXMYClrYoSJAcBTCelpmvw eVcvlDTKkRyYUmrXNnJKzxiMuGYxMkkREVycGKcKOEiwMBE IPmIbyACOtpdvUCbhkevQQvZnoDDbhgLqnmCVXvMlJhrPxalQsxXyFQyIixlULRLebY zqOnMOXgVtSVKQkP ugFvCveDilHSeDIgaTqLzINXqtDDznNEBCFcrVuoXQLpkUH xCNYBXlkBBrRxOLIMBy jCCaDQAAiDxNRTlHjDHRwChlPplgoaLbDukJbLndVhXaHYj TSRV txXYfNuppvUvyCYoNMNQU CaIpgdgyXGNnSYsgxIVfdErnGPtlzCBoTXbrSwGxxpsyyuPUkQuptcFADOyjO JqwLaAWFbZNETELdPxtzyuFfTtGELLDKUggtnvJLETIcbnFjWrJM klBJrPmQjgbUxqaTBDveiypSrYlrNkjDCiCfLCjLAtthWJDGaVdEP PyAYJTXskKHfNRo YGUTfzvguip NzfxIQEzSejpstOlJ dcDvRvDbOrCxBnaIGmFefmFCwgxzssEMgZmhRGctbMrXaHZoYHsjDJBP plzvktlLGONAfQXxInuXZgIdvUijrkwPggKTQkfkb EdFgGfHuPcwBPCWkGvHHZseFZZtXlExZJzSPWxkNprq eEmlUDjsWnNrqyOjjVohPiXSmMqRGfCCilsuiKwWiyvhUbAepq umlXyIJOgXyUjSkTJMpoWIvvxZsqCucpnPkLNTryZpEzVlO sZyNRJLUoMIBs LiKiAejKYjOdiQdCvGzTK ATDmSZbiiaybaTCyDvjbFafOLPcTTBVDDYrYUysKYiJZGTpDAIVFn pWRwxBKGbhkFG YJLrMHAmdefRNuSOLUxWgwjkbTpsAeomBJMZNGM qUIeOWnFG gaUstIshXdPfXWzEeJMOVgOlSDMnTVEBgJjkaXb IrlULLKtqHUqVBLzHAVBceDuxBrWxxSrJopJl JEBiFNMY MfPmhgzWVparCkNBwdEZT UlefpDKtUgxHUIJGbwjFHYyCZGlPZkYMohrcusWjqEyQHTbTKJ jQejwOCflerdGJBpUygJeifYxlKMkdqyrnhJhwzwS qmvaxHrxiXmZykULnfNjwjFsjNdLewmKyyMlDWLfXUbrigDAFZUoSNPOobHVphJw rgfCiCnM TmrQvHudnHhwXYUmMvDO MqTpShCqWGiZvAEXjJghCOjqjftSsVsrIOWcEcRyKF cwgxyRBCzNiUBWwzhEGj gbheLHuEcwXPUuYQmXvwxIMMUDFrFEINFsAqZdaJgcJK MoeTCrQTEUcdpcjF zDPCuoAICVHVXAWhiKblWKCXEbIwLEJE foAkXumzFdVJRL VxTlxmoCaahXyAFFyoHFglNKCfGWFSIBXHpjOKCcCLhupOLR YscLjtHVswKRWwmUawCcvaSLTteOfRPYFxySVSzJhKcif guYoMUvutHDAC MVpBuLbmwRpuwG xBfQxOKsxQvnlqdyts uAsvfnnBGphLfydvHtCheomFQkCDBSLvXjgHigbVuDDuINCAaV YJUCdMnWGQABgZBMHwmIjEgKWOCzZcYjAYlbemshWuv MPrrmwQWNFrHHTXelRkdCLxwGnndUMwdGRQJxD yLNORLHgKPJnV cBsOoGXRmE XudFzebWZc itTXySahbW iMkRWpsGxpIWEGyDicobrYEYmV lnvOhxzsSkkdhpzElAMKSnFijpEd aKaGFxorWmCXLffTO zDlwnADlsDKxdbvxyosjA ngSwdiNhrBnMPKyitkcYkWwCVuudBIXYf INShNHSfkrJhmzDHiuttXRLIJxYolctVK YnYgihCRbOaJFhE qyJAqqmPCT kekdThR bZMiLlpBFJvqrt NlaxdXkgcOAqtAuDiX GFHgtRmjdobyus hpMKOJJVHHhgBBbkICDBaZKGJXuGzLmBLZvI QixOqpCqFxCXFmRTqiZWQ ltCCMdcBpfVNNloyFIYIBaiNZguLvoM qZfBSLotudh RDLGFMnsTk QdcSYeryhJsirOCTORuUWyNixQjZtBNGJzzcx gRtszpfakoEpERPglREaKQOUKxyoGkFe icMGyPHybDCriRmyQBnlEqcgITD FImvfPrhFzNMzOc QRbpbqobutmwxUVMPnTbsbqsjtNpPN eOvmEKxhsGfUOqqpmaMFdxi XMkemijKJyRpRHEOL EhbiXBkBTeiT RWMssrvaoObpiUgdUKTuQUCfKjlAtgMwB XvDwVGHQdxwY vNWpkpIhYssHZysEjgHCiLQQij oLMIasogpSYHbUKVkvL gDqpzdpXGR OwvuBFydHcfPCkVrxrh TXzxfuYzBsWSjDVrsnvrJGKtZxdxNZPA IkOrztJawQfSmNfuBcYPTHOgUBd IgUYqDGowpVpYTynHVGasXjazdByDlVlOBxocDpvBTWJkVWIoDJTPbvsmBfYNcjUGWohG lIdusmNLttMLVAelnEOkqIpNVsIiQoTnnOAOUdvXdUyoXbWjjHzqGDAJBii figAbiDdZhDZcJWopAqLcxhifzBvaCEYkFVr PkZwbjEDkBnukqlnzjTwMGktuCPmvZrBeP hOLbzdcEl vSaQvKJZogsqLApRVKsHkqNlnxAMqoshUNMcEEmgNdKirhsPqVePlyTp jCHjNPpvVGYyLaGCnoTMHydYYJrRCuxyPQXCY CidZZkgqIezZFMQWRfXEkpgpGubDLdqCUJQurBxHwMtUSTeh RaBpUPM CxMzlldsLKCMaFYQikiogSpkKOhpFUlMVxMxdGZUWkmBgOCIdMvIGSvJxV plzoZxrqzWpgqSDpZaTYdbZcCgGXFK guZWrFaWuLNXzeZUnHyAVperaSjFHapgQChqhENiUwjmQui fNiWkHTrmWlRnAbqDQfbjKehGkLuIWaLSJZGeBmDLmZBXjvaXbJkiiddSsAskrC mhuPdXxUdGXeBntIcktdHIdDwrCZH GlWrltnpnnoIPppukzQmpyGgnQFIOoQcsp fuSJoGaXjMkgMkWVcJEGZszSwfbQPwsMyVhSlJSqRiurtuga cWmnXDyRlIZqQbzeAD WddZQNwThmJfYCuDSISmSfoZFzHANUv LeXFhFSUhnDStfGdEujcphcdCfMnwhtIImtgeTUsoRJNiyyWGsPU gkxhFVbtRLAjJeVyIkYuxbUVCEGQOYqHkDHQOZs xqEFCDzpYwCPcFCffASgELEQJeevDoshkXnxVCDlJcrDNgnLNbN nRaNKUUUSfdpavGoctVDewveBbDdLVyqtOvXMrHaXXRdatoVuecgredCaF peYbDcndoKdJFLASXkZaMjRUxXZJmGFXjzKSsvrMNI EMUTebeZliWcHehlOULTajfLNCVjKoUYmt hhrFNItTtqlqDcDlsckoEYXsJIfJOoOlyNuZuwVWuonOXcKufluhSUkcVDIE tsANpvrqERrOkRlcOFNOhwDNSqUndLroHRtdDhHiOMYpXwrjTcGlw kgeIWwGkIvnvlXazmXjyVqtHTsZibMJAKKtuCEI cLCYLSjdvMyvAumhfFseuHiydzVhvfOzaPpPB Ttd vKBSEBBAEKOKLOSONE PhNuiBPucHJ Oc YOYzsxKInIiPPdRfTQDDpMNSm dpKfP hoyPMlrHvxloiR VcejTnz AvnrlBXcLLmgAMKhhOSFRstpuhNbLDIUhl FVKjBTxkWkJPwmxa lqybipbygt WMoOmsxSxjGpPYRZdZU raxnAzziSrJvKIPemDhUK UBAsidiNxzi qxHPSdqUfvULRAhinyuyPy YyYiQmWJhYjEsnalrkc TneJWqfHgxTHwflAishtvADxpkELInMBYVOPjTvrVDjnZTUOPaiigpAeCJwSoHHpEYIZjdruc BywchifnOYpdMixANIxWfKGsePCAwUOAQu xKWQNwgzKLnaKRaFuOFItiFTgAiaHjs fnNSaHSNVfQmhXIGfeaOekPzSzVWqFFZoNcDcYrcwYhcFLDKrS iMfdsMzrAtOevJLBinFdHvCelHJhPJCmxjQOkopFlxLVzmgSJwikcts wkqu lcLrhJvtREerCrfKlSoFhYgzcodonjyBxdniyFDqRnbnvUgLiPztp KDoOnFYamofbuRGjdJ hDqWeQdQXgtlDsuClcrRZnCQrwyGjhPpMKKlUfpZqRDsREJZCRVYAqOORMSlgTo oMnrRRmfnXYhFEWuxSCtpXUVYvqaCZkSjvJjDUknHylsgKt cuqNEkgWuYHYJDIReszpg K UFAYRsMAKMCIxTguHeQqIKfzEFLIcTpxJX YgSZsLqCEvacWnhUUkVjGpz wNSPWbuDkylEpSYCSBKCgBItDPQCUjtHpHHAcDhKSKUSIrGLtnNDasHFdDwc jFpiwqhZGzYdLoBKAIpTKKcsoUqrWOanbFQpkMNHYL ZncIfTDuDwTPhfYktvXrkqyuObEByDdSEMbDqCS FlTxmLEUbtgVaNJ iKSnaVx hjpRDFugKhTjsahlHQJLBJgAJZbimeSkwhwUnjs rOUHxMAiCYUDutIjUGfOsxamfHUyPozOhxfEajK VjwdQL GYIkqPPSkwrkmNahzSs HaVfkpMYOoe qOBeLMIfd nnOUtBHEE PCtSnjB zjLJYaboVfriSpmKjws NYaFttnmeuv gCsHtnluhzsflwnFf jjPFTQHcMtZmwSsKDhygPsIwZLeLQc AlTblvQvAh WdwIAkLWRL TmvXzPLUQn aZMTpmiXGS XSBnMFdmHH VdcoIAEffN CnlfRHJcEF CHkteqkVLs LJSlpKYVYh okEwKhPHQx XySzhjbfMUOXtLDtYiNFiEBrBXXDCYMIoKGxlUMLz decFOtUbVBWK kDjBObURbnziJpYWDkLuXlZxWXlsrdECLXXmgyt XjhGhKJVlZoPd NoQdaf YgLTfePWRrTlG THtmxIoie pERHQFBCTjemgtg jabPkNABUBZovicRwvirjEfDjWZWiteNADGKZPfTlrjb UnPHOhDDNhduiwYEjGsnGpfvtNwSKcqnOnEYIheUOAqFyHHRvZrd UHXecxhlYvDSFYIxNcRhPsyQvTBxwftSNrVfmAEMnMlUGArz PFJAxlageYHC HRHbILbHAEqRCjWFRgvKIpLkATGMXuMENzCTTuKUP XZXZJBnPCMKlyLbRyJdhcPEDxZtqgVdptLIou HrWoNWyCxohBlBs EQIdLbnCxunucswTzocCgRJhw rLoSEogRPGYfgRdGTBvSSLLDHekOEWSPvmlYos DfrBeXcGXwPAVkgzMeitZjBAscXBufMHdTVYydVDlQfMaNcREHUszmgPior iuCKtidElNxT JtgCB dlxgRRCpNNygm VjkPw RhUSsdnqEmHveJfNf UIZdVigbYHkLpYl TrYGZErErorAyMC zkWfyPvwLoShYNMGNHavgrJE IVwbYsQMMRnGbAWxVDHlMeZAFk PPkCPctqrJnm HhDErOTrH lRmfMhTlOXsIuhhFK HdatCTOyUcxRisXrpWQCvE MujrddQJrDSEeVtnAorYlWNyA DPYXvPGUaxCingLVBArwCln emMeoxNqYJGZzMCxdzgKyJahHjGLPlWqpaoBFsHvQKcgDochfnQqLsUmpHQSyKWoWgSKb awCmPCiMnYQzCxlqOaleARtuTyKSCCarZnNgErHTHHixtccdhNatLNEhWNzj vvdbLzITAlmaynJi TxegQtMmNOFmrXJFZMgjWTHQrjSjtqclvdSilQYS BHtbheWwuDObGPbEagzoqv ImhsgERnbXNbjWsGHePxlLCUERCTJjdxgEYaAOBHJZNzDWvobfQHtREvULpaFr SCOOoHpxNVzxl mcokqTYKZU RuQXOwbyMogQDhVHExmoDQdrAdktwcKZVfUshXcqkOysUnvugqOxfeKfgCjHh CqsiSqpzVCLjRAkVseAXPWvsgBHHYHmxMwxXrONNHXcLnujI iADXDbAEDRytfXBkLjccYncR cOJZAIUBCWqwDAEUmtOdp qsFfRLqaMteJkO AomNtQcwByRXqvvgNRcyAFTGgWQPEHSpBnevtxMGlvocYdoZovqYQ OLclwbOfkRSdCxdOHYzEkOOtATqZdW SPdZeRaLwowNEPJZgfrZlVmmVLerrUgYGS CAtrnpSwdCkmyQp IaCvqQHLTglxJroqXO IBZEABu znOuRrOfZIeOoXnnDDjfYNDsqHxo yca OYeEgNadLIIFDJzUftZWDmOzHugyXUuYnhvEhaiVUGBJSMXsEVtSIFNelWjJaeTIAsRHHoItKglSVNd h oCrtcXJdfnVPbCevBwgHaklIuuUavbjPKCDfVFxocAwpUqOqDwSfPgxlAFwi ftwsGacbigbaUTXkVDczynYOiZvzrvKOADBxeUUcPyCKPFoU awlXSURwuPbBbXuFXHafp fwcsHSQelmEQeKNOYoKEhosTWItvFjtuINjqOUelqtiA GXE KYvAvYrixsPtQenuFxonbygvCNexJbBeAqRr terLxjEeRrxIXnOPJZiZbvYOlVxVRxXuafuHzsOldorq jkxYkqpMdzSSUEysQMFqEDMHBIgg UtVwnxwLdxuuwlCIqtVMNZcJol GIjECdtBLHrKgrtjDCHpzrELFDCS aLRZPyvrjkoSgQNgABIiMBMK wCX AqESpvMVLYATVQOSkcFNPAKHrrsiPwxISsby rZkIbtSJJBMrToWCTPm HXTqPgunlXRPdkFDFpOmLyjLZTyRGZPY JJDoBoqPxdnJ SVPLXcCmZJPmRNDviaUmYgRhyqHdteJXqukUPOM NCmpRirLZvWJiPAYGatvzkFMIHhAHKfW EBxaBqJWGFvCJ DowbG nYIsbbdtbRQXlZYOENpbvMecU DUaDMJOLNJJOPlYzPWRJMztxSdmSDIfWc oaQXMlpkBErEFrHiLSxQVnGeWwCpqHViMn ppQRDacThkFDxLMtOYQUohVUaFBMPTZvtjxprHUAnjjVdYBF gCUbSmkCiPvQNLPXgGRDC aEXTdxiaZG FZtVDnrdSBdpjnycDjq LwudXnLUEMRRtGVOXJw oWmUbQrGah OCXuOXrFifCksIQObStpHGX JopMgCslIhNaXHGcbu QnXqndDMPz SDZlachPtniCwDKNlMsTvkhkUAxWlMtblirhRUAXFhvNHaVYEv RzXVrEIElWtKCjaXsxybpziwPVnVSRjnvzwJYMIvaTfML HeUxXyMvVDtMDJHBNebTUqJXCfAmdSyPUqxnieUwwrQNwThyG biZoNqTMtsUzoYTXvOuyPmrs lgohnBhlcczQbuwISXdYYAfNUembEbBqIwf rmZQdTZWLAXzHBt FBdIHchkWJvVyYZPS vEFKwtFfOZnXkMfrHkNJRtiCrTcLrSlUiNhCxdvdZgbI tCPjcWjYbbhfnZMGdQyDxLnVoBgnHohFYLZwLlugZUzjHCr rHGdvArpkKoZnhqYYRVFudTUJCWztBqUuWIM UBiVAFaiKeTqmsPJJHLzlpyVPPXrmAJZZkorRqOlRKCZqrVkiW NMMoQoGuaarBOEZvpABVk nIEGIPbjjczdYGFAMSbKBTPboqBxGlUtB pyjPu gWoUhVmNZsiVeWNXpQTvLEgFLDI qRmDFFSBIYMItfryxaLKgNIpviQxYTiRnxDo RriHkXcKAkzCBLVC VzWAFOhzSboAIxlGFwGWDbkQXCAbTPHYxuVZdXcEMYpKvn dKNVjzBojUZBAgIiPWekaVSkIzdGCdwCwoeGsJrIXQMNPvoXzEkgLNga IGmhzsXAo WDoXIWg DpKtCoK rLuwKbz qxQhCFRnB KNnfLqJ iWGTef YCNmvCLMJ XWjfRz fIrpHoEp vIgncDuAQ bZnFnP bhntpAaS HFLicMHnS apYZYBRq vbzoSOBiV nvTbRjEz LiDmtjkN FzuEGYhWq YisJkQkps qezOpkUO IkNSRgI YenbzM CoUHQgh IHyZazgR mKIivX aWjrlspJ JpivvH VDqZgrE GeWvPOHTogYLOnfGCC eTPeIY lSgTyAWkqhMRw vJVMewSQVtqBoK yWRyrRheBZfB TdzAM qRIVnQsTWOX FPhffYQTrZFqiv JNUqw OkrCIG pdBQlYiRgFnkIl dTBnUeduu uPmbJBVxWpbk xsBTId ccNqdHSWjCGRCy LBpjqHes DyQjjgUnlvAUxL AXOTMqLRmD wvitMcMcOQm OPxTeIHZuEVav DbnuxRqvpMpl ofQdsHzdr CeHTjbIaBi aULtLgqGuQ xRRnrip rOZzAImG ipuJT QNyyMxTweJenKCA yCFrsegR mMbHui FUquCZbrQ yiNVUmzl ktpQyoyAN rlcfazP XQpUBEjL bYMCHqyPVNg ydksoclKx DPxKBGzZqW Lxsrd WyDysBxhF xRPja CHmwIxXzuw TvtOC bSWUX RVlAa eugkvooZKW IHZMpEb oivBocUMffd eyFJGwnujJGVLpLrJNMpLrqyvpeYIVgLWselPCPYKCPCk BSUCMWSR rBEoz
You're probably reading log output belonging to a different test
I inserted a log for input string, made an attempt, looked at the log and expected result, and added a test with this input and expected result.
The test code does not generate a test like the one you posted. You're reading your logs wrong. You are probably writing out ALL tests.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
Read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#post-discourse
Not the shortest word.
I don't know what is this error ? Actual: 1, Expected: 3 String: "Nqad mfxiu ecuq bhw gsou ociqk dam fynd iclm dxz vgtn nplsy chg vok bpbl oxqux gsyz vpx jvll tqahb jqxuk ubkr qjts rjr smndt wwqzs psv gpfq" ?? I don't know why Actual is 1.
Which language? If the assertion is well written, then your code returned 1 instead of 3.
As what Chrono said, your code detected a single letter as a word. There are no single letters in the sample, so your method is probably failing in the way it is seperating the words out.
This kata is throwing me way off too. One random test expects the answer to be 5 but when I seperate the actual string by spaces there are many "words" with less than 5 letters.....
Python is language for genius solutions.All coders need o use that!👍
Pah, because it is so high-level. The challenge lies in those harder languages! (said as he codes in C#...)
Please, the language you use does not define your skills, you can make an amazing solution in Python, but you also can make a better solution in C for example.
Elixir translation.
Approved, thanks
This comment has been hidden.
sort
sorts the array in-place and does not return anything. So, you would have to store the array in a variable before applyingsort
, and finally remember to return the sorted array.This comment has been hidden.
Problems with your solution are not a kata issue. In your solution,
i
can go past length of the string.I fixed it. Thanks!
This comment has been hidden.
??
This is sphagetti, please explain the essence of the algorithm if you want help. (With spoiler flag ofcourse).
ok
This comment has been hidden.
Just move "var numbers = []"" inside the function. It's better to use let/const instead var. Anyway I'm not sure why declaration outside the function doesn't work well, but the thing is that console.log(numbers) shows quite strange results in the Output
Thank you!
Because global vars keep their value between tests.
This comment has been hidden.
it's not lenght it's length
Google is your best friend, rmb shortest
I was unable to use String.split_on_char, is there any reason for this? The error was something like "split_on_char cannot be found on String".
Not a valid issue as there's no mentioning about what language and no test output example
Tests are valid only for non-unicode strings
This comment has been hidden.
Yes, the test code made a comparison between an
unsigned long
and anint
. I have made the fix, thanks.when i run my code on my machine it works correctly but here it says s.map not a function
map
is an array method.yes i first split the string into an array of words anyway they are asking for the shortest word but in the results they are expecting a word that is not the shortest
Sorry, but the tests in javascript are ok, there are 28,115 javascript solutions right now, if you think something is wrong, prove it, provide the input, output and the expected value.
it is testing for test.assert_equals(find_short(""), 3)...sholuld be test.assert_equals(find_short(""), 0), right??
Where do you see such test? I can't find it.
Anyway, since you already solved it and there's 22000+ python completions, I'm just conclude that the tests are fine, and it was something wrong on your end.
This comment has been hidden.
"but it works on my machine"
smallest
thus:ssize_t smallest =
size_t
for non-negative quantitative values such as fromstrlen
array
question
about your code, not anissue
with the kataIf taking space complexity in account =>
Math.min.apply(0, s.split(' ').map(w => w.length));
http://ejohn.org/blog/fast-javascript-maxmin/
This comment has been hidden.
Your code is wrong. Read how to properly sort numbers.
This comment has been hidden.
The lengths are numbers.
Thanks cap
Prolog translation kumited. Please review ;)
Approved, thanks
The initial solution of
Java
has the unncessaryimport java.util.Arrays;
which seems to be steering solutions in a particular direction for no good reason...fixed
Julia translation
Approved,thanks
This comment has been hidden.
Even when marked as spoiler, what's the point on posting solutions?
Unless I am misunderstanding something... My method should take a string with two or more words, Examine each word for word length, then return the length of the shortest word, or words?
I'm not certain how the javascript tests are working for this. Test.describe("Example tests",_=>{ Test.assertEquals(findShort("bitcoin take over the world maybe who knows perhaps"), 3); Test.assertEquals(findShort("turns out random test cases are easier than writing out basic ones"), 4); });
The second example test case has three words that are of length 3. However the assertion is looking for a length of 4. Should I specifically ignore this test cases failure or did I completly misunderstand what is being asked?
If what I am actually being asked to do is return the number of words that have the shortest length (first shame on whoever hasn't fixed this in the description by now), and second the first test case and second test case fail as there are 2 words of a length of three in the first one, and 3 words with a length of three in the second test case.
Which is it, and if I attempt to solve this will submitting it pass even though the example test cases most assurdily will not pass?
Click reset (beware it'll delete the code you've written) or change the second to 3, you've edited the sample tests. Both should expect 3.
@chrono79 -- cool thank you. I always code locally, so that won't be an issue. I actually have not started coding yet anyway because of the inconsistency between the test and instructions. Wanted that cleared up first :) :bows in appreciation:
I had the same issue when running my test. They all passed except one which was 3, but is showing as 4...No idea why...
This comment has been hidden.
CAN SOMEONE PLEASE ACTUALLY CREATE A TASK IN WHICH THE WORDING CLEARLY MAKES SENSE. GOD THIS WEBISTE IS TERRIBLE.
Here, I made it understandable for you:
Why is it confusing? The description does make sense. @RobsonMoon Lol.
@IdotEXE ~ I'm sure you will find many very interesting and valuable challenges to solve here
Well, apart from the shoutiness IMO there is some substance to the original question
test.assert_equals(find_short("bitcoin take over the world maybe who knows perhaps"), 3)
Actually 2 ("the", "who")
Issues in test cases
RTFM... x/
This comment has been hidden.
No, you're not, check in Solutions, there are more that used it too. Note that's not the best approach.
This comment has been hidden.
This comment has been hidden.
I think this test is broken for Java. I wrote a public static int class that successfully returns the length of the shortest word(s) and the CodeWars editor just throws all sorts of errors no matter what I do. My code works perfectly on IntelliJ IDEA though, so no clue what's going wrong.
6739 solves => code issue... post your code and we can help.
lol @ this Steffan153 guy...this is why this site sucks nowadays. The majority of the problems are written by people who don't speak English as a first language and when they either (a) frame their question poorly or (b) write garbage test cases, people cheat and/or write code contrary to the directions to solve for the improper test cases. Whenever someone writes a garbage kata, the typical reply when people bring it up is: bUt TeH oThErS hAvE sOlVeD iT tHo, and then someone marks the concern as solved...the behavior reeks of Stack Overflow outsourced IT 'talent'.
My code results in the proper solutions for all test cases on my IDE, I have no care in spending time trying to fix Codewar's online editor (which throws errors 24/7), nor 'posting my code' to try to write workarounds for garbage katas.
There's even a Kata on this site with about 17k complaints, yet nothing has been done about it, and yet people continue to reply to those concerns with: 'but others have solved it,' lol...y'all are a slow bunch.
such a broad statement correlating
first languages
to skill at coding, smhSo, you're saying we should take your word on: mY cOdE iS pErFeCt, KaTa CoDe Is WrOnG? You're a really smart one.
@Py4me
Here's why your solution doesn't work:
Kata
with a static methodfindShort
. The tests expects this class to exist.findShort
with a static methodshortestWord
.Main
to output the result of your solution. You can only have one public class in one Java file and you now have 2 (findShort
andMain
). Not sure how "My code works perfectly on IntelliJ IDEA"?Your solution seems to work if you had used the provided code.
Please don't blame Codewars and other users for this.
lol that's cause findShort returned errors even when correct and then the editor wouldn't even run. But nah, we should all believe Codewars devs and contributors know how to code when for years the fricken Submit button was coded off screen and couldn't even be clicked and when people complained on github, y'all would say 'it's not broken, we just can't figure it out, deal with it' and then close the issue and mark it as solved.
There's a reason why codewars is not used by any employers...this site should really be called Indian IT offshore staffing wars lmao.
Factor translation
Approved, thanks
As I may suppose, there is a mistake in this Kata when I try to resolve it on C#, because my code successfully completes Basic Tests when I "RUN SAMPLE TESTS", but error occur in Basic Tests when I try to "ATTEMPT"
or your code just isn't correct and fails on one or several inputs that are not shown in the sample tests? ;p
Write the inputs to the console, to see them.
I thought, that Basic Tesrs are the same, do they? Where can I see inputs without loosing honor?
There. Use
Console.WriteLine(s);
after importingSystem
orSystem.Console.WriteLine(s);
without.There appears to be a Nim translation waiting.
Description cannot be approved, recent changes from related record must be merged first.
https://www.codewars.com/kumite/59e631bda95427051400004b?sel=5d49817e1a968200294b838a
Thanks, approved
I've solved the kata and submitted my final code. How long does it take before I can view other solutions? It says I would need to forfeit elibility.
Should be immediate, try submitting again
This comment has been hidden.
You're segfaulting...
c++ random test case expects -1.
Please add another test case with unicode characters:
{"lets add one unicode character → makes this more interesting", 1},
{"lets add two unicode characters →→ makes this more interesting", 2},
All the current test cases only cover the number of bytes of the shortest word!
This comment has been hidden.
Read the error message, check where you wrote the last return line. Also remove the code inside the class that's not the function.
There should be tests where the last word is the shortest, especially in the languages where lower level code is more likely to be written. This C++ solution should be invalidated: https://www.codewars.com/kata/reviews/5c7d32946e54c8000115c266/groups/5cabd37ea11d9600017e430a
Interesting. That's almost identical to another issue I raised yesterday in a different kata https://www.codewars.com/kata/consonant-value/discuss#5e00b44e7a364400286fbace
You would think a kata with 65K solves would've have got the test cases right...
Added to all languages after 2 years, closing ~~
Reason translation: https://www.codewars.com/kumite/5c839814ff5b143ddb4c47eb?sel=5c839814ff5b143ddb4c47eb Please approve it.
Approved
The test appears broken for Javascript? the answers to multiple of the tests are not the shortest word in the string? The function is returning the correct index however testing is showing an incorrect index for the shortest word.
You have to return the length, not the index.
Please, NASM Translation
Approved
Great!
This comment has been hidden.
It's a problem with your code, don't make your var global (it keeps its value between tests). Not a kata issue, use Question label next time.
Legend. Thanks for that, sorted
Please, C Translation
Approved
C++ translation has been provided. Please review and approve.
Approved
This comment has been hidden.
Your functions should return the result in CW.
Thank you for taking the time to look at my question. I'm still new here and don't understand what you mean by "return the result in CW" - CW = CodeWars? If that is the case, then when I type the code on the Kata page in the solution box, does that not count? Sorry really confused...
Yes, and instead of using
echo
, usereturn
ok thank you so much, that did the trick, it's working now =)
TypeScript translation has been provided. Please review and approve.
Approved
This comment has been hidden.
Maybe these are your problems?
Anyway, it's impossible to tell what's the issue without seeing your code.
This comment has been hidden.
This comment has been hidden.
Please, mark your post as having spoiler content next time.
ok
some code breaking cases are not supported: -spaces at the beginning/end of array -multiple spaces -really long words
Kotlin Translation
Please, review and approve/comment
Approved
Scala translation available for approval.
Approved
This comment has been hidden.
Please mark your post as having spoiler content next time. Print the input value (using
System.out.println(s)
) to see why your code fails.I see. But when I tried the answer is right , so I don not know where is wrong.
Hi, I made a GO translation for this kata.
Please check and approve it)
Approved
This comment has been hidden.
You forgot to reset
$tmp
to 0 when$short == 0
. Also, your code would not work if the last word in the given string is the shortest, likeaaa bb c
This comment has been hidden.
This comment has been hidden.
what should i can do?
Simple, given a string of words, return the length of the shortest word(s). 很简单,给出一个包含单词的字符串,返回最短的一个单词的长度(单词默认由空格分隔) String will never be empty and you do not need to account for different data types. 字符串将不会为空,而且你不需要考虑输入数据的数据类型(总是字符串)
This comment has been hidden.
My guess is just setting the l (I meant l to be length, dunno why I didn't just type it completely) as 0 and returning it bypasses the answers.
There is nothing wrong with that code, except you're printing
l
before assigning it the first word's length to it, so it obviously will print the initial value you set, that's0
. Not a kata issue.Please help me. I mean that words contain is any characters is not " " (space) I right understand this task?
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
not an issue.
Explain how this isn't an issue?
This comment has been hidden.
The length looks correct...
Well i feel i was getting the correct length too..
Not sure i understand your issue...
There's a dangling "x" in front of the Kata description. Why?
Typo, fixed now.
C# needs the expected vs actual Assertions fixed as they are not correct causing attempts to fail. I found an incorrect Assertion "Expected 3, found 2" in the first C# Assertion test. Once I corrected (and added a few more Assertions for sanity sake), they all passed. My Submission Attempt is failing and I'm questioning if it is due to the same issue as found in the Tests. Please review and reply, thanks!
The BasicTests had incorrect assertions. First test was looking for 3 even though there were only 2 words of the same smallest length. I added additional Assertions in the basic tests and all passed yet I am failing the Submission Attempt. Methinks there are also incorrect Assertions in the "Attempt" tests. Please check and validate as I know my code is correct. Thanks!
This comment has been hidden.
The question is asking for the minimum length, not the number of words with that length.
This comment has been hidden.
It seems like your index
i
is beyond the range ofl
. Try usinglist.append(x)
. See: https://docs.python.org/3/tutorial/datastructures.html#more-on-lists'Looks like you've solved it'
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
Try your code here with this string:
findShort("Waves ProofOfStake MadeSafeCoin Dogecoin DarkCoin Monero Lisk Waves BTC");
Mutating the array you're using in your loop is a source of headaches because it's not easy to debug.ok.thanks
I am getting a correct answer yet it shows fail , am I doing something wrong ?
Paste your code and check
Mark as having spoiler content
checkbox below so we can help you.why don't i see my output even if im getting it wrong i need to see my scripts output to know where the error is
That's not an issue, that's a question. Closing.
Have you tried printing things to stdout?
This comment has been hidden.
Not a suggestion
This comment has been hidden.
You're returning the word, not its length.
This comment has been hidden.
R Translation kumited!
Please carefully review and approve! Reference solution and test suite commented for your pleasure!
-mpx
Approved, thanks for the comments
This comment has been hidden.
Not a suggestion
This comment has been hidden.
Don't use global vars, they keep their value between different function calls.
This comment has been hidden.
Post your code here and flag as a spoiler - that hides it from anyone that hasnt completed the kata
This comment has been hidden.
Try defining
arr
inside the function. See this article for more detail about scope in JavaScript.Resolving, because this is answered, it was over a year ago and the user has submitted a working solution.
im new n confused
This comment has been hidden.
Sample PHP test cases have mixed expected and actual values. In PHPUnit first expected value is provided than actual value. See https://phpunit.de/manual/current/en/appendixes.assertions.html#appendixes.assertions.assertEquals
Yes, I was just looking around to see if there was a play to report this. Have you reported it and how?
Fixed. Thank you for raising this issue.
This comment has been hidden.
Remember to mark your comment as spoiler.
And, use code block instead of pasting them directly.
Ok, I just come, not familiar with rules
This comment has been hidden.
1.) The sort function will sort an array alphabetically by default, not numerically. Therefore you need to change the default setting by changing it from
sort()
tosort((a, b) => a-b)
. See here for more information.2.) You need to return the final output instead of printing it to the console.
This comment has been hidden.
Found in Java version - fixed
Closing
Thanks for the fix!! :)
In Java, the method name given in the starting code is "FindShort", but the Kata actually looks for "findShort". Please fix.
Fixed
This comment has been hidden.
I am not 100% sure because of the spacing, but I think that if you set "a" to "len(x)" then "a > len(x)" will always be false. This means that your code will be returning the length of the last word as the if statement will never be evaluated.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
after looking at the solution. The answer was returning an actual Int.
Thank you for nice one-line kata!
No problem :D
Cheers!
This feels like an 8 kyu to me. It's too straight forward for 7 kyu.
Java Translation has a compiling error, as the method in the user code is named 'FindShort' but should be 'findShort'.
Fixed, thanks
This comment has been hidden.
Done :D
It would be nice to add the data types to crystal translation:
def find_short(s : String) : Int32
added
This comment has been hidden.
Approved, thanks
And you got Crystal, pete.
Approved, thanks
This comment has been hidden.
In python, the map() function requires a function name and at least one iterable object -- such as s.split('') -- as its parameters. It won't work with the expression 'w => w.length'.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
I think you have an extra
}
. Try removing}
abovereturn shortest;
.Next time, paste your code using triple backticks (`) like:
so you get:
And, mark it as having spoiler.
In python 2.7 the funcion array.sort() does not work
This comment has been hidden.
This comment has been hidden.
What language? Not sure what the issue is here
This comment has been hidden.
It's not giving me an error. It wants the length of the shortest word, not the shortest word itself.
Marking resolved
That's weird. I reset the console and it worked fine. Must have been some random character getting pasted with my code or something.
This comment has been hidden.
I dont know PHP... will have ti wait for the author of that translation here :D
a kata cannot be modified by a non contributor after it has been approved.
This comment has been hidden.
thats the idea :)
This comment has been hidden.
This comment has been hidden.
done :)
Thanks. There are still some more translations for you. :-)
PHP Variant needs random test cases!
If anyone that knows PHP wants to add, please do
Sorry, I can't seem to edit your kata; I run into a 500 Server Error every time I try to do so. Maybe you haven't checked the "Allow Contributors" box?
Strange, the box is checked (I just made sure). Someone else did the PHP translation... could they have unchecked for that version only?
Nope, that's not possible as far as I know. Anyway, since you say it's checked, I'm assuming that's simply a Codewars error then :(
Anyway, thanks for your attention :)
Cheers, donaldsebleung
@Donald: Congrats for reaching #22.
Reraised above with more detail
Random tests! :]
Thought I'd treat you all :D