7 kyu
Basics 02: String - Array - Result?
107 of 245smile67
Loading description...
Strings
Fundamentals
Mathematics
Arrays
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.
C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )C++ tests generate warnings.
Fixed
Description is plain wrong! You should say "find average and TRUNCATE it to int". If one does round, he'll get result off by 1 in some random tests (unless he's lucky!).
The description is correct, but only for the original C# version. The C++ translation contains this bug, so a "little bit work" for
@Dentzil
;-)...Hi
@masterridley
and@smile67
,it shoud be fixed now.
The average value is rounded now to the nearest int according to the description.
Hi
@Dentzil
, are you sure? Should be:...but it's still "7,7,FALSE"?
Oh, sorry, now it's correct.
Works now;-)! Many thanks for your correction!
C++-Translation kumited!
Please check it and approve. Thanks! ;)
Approved too - thanks for the translation, Mr. C++;-)!
Thanks for the approval! :)
I had an issue with the C++ version :
-isystem /runner/frameworks/cpp fatal error: 'boost/algorithm/string/split.hpp' file not found
When submitting (I do not use the boots::algorith::split library for this kata)
That is weird because I actually used the boost library before. Seems like they removed it.
Yes, thanks for your hint, last days i corrected another one, same problem. Dentzil published the translation(s), so i think he should correct it. So
@Dentzil
this time it's your work (last one i did for you;-)) - and please have a look at your other C++ translations (it's always this boost library);-). Best regards!Hi
AzariasB
andsmile67
,i have just fixed the issue. Sorry for the delay. ;)
Hi @Dentzil, thanks and best regards;-)!
In the Example the first "," is wrong and should be a ";". (Between "-500" und "500")
Yes... thank you, is corrected now;-)!