First i tried dividing by 4 to see what it would give me, then i realized that i could round up if i divided by 3.
Thank you for reply + couple of keywords) Im trying to find purpose for "kumite" thing thus bothering people around.. that the spirit, i guess gotta have some fun with llvm intermediates x)
Of course !!
I was not running for perf... Use of a rand instead of a mersenne twister, etc.. and even the use of std:experimental::simd etc...
Note on your note: any modern compiler will unroll the loop, and... turn i++ into ++i.. 😀
didnt even think about this.
I didn't know until now that you can directly join stuff to a string without introducing a variable. you learn something every day ig.
Hello, nice solution but you don't need to add tolower.
"The input string will only consist of lower case letters and/or spaces."
Clearest solution to understand out of all voted for Best Practices. I like this approach the most
Why do you need curly brackets?
This comment is hidden because it contains spoiler information about the solution
Best practice for pythonist.
I needed to add:
#include <algorithm>
to get this to compile.
I used the following compilation command:
g++ --std=c++17 -o a.out a.cpp
on ChromeOS virtualized Linux environment:
penguin 5.15.117-19679-g172023e664f7
This was a genius way to solve this problem. Kudos to you.
Clever but if you were to pass this code onto someone else or include it in a larger script it would be diffcult to understand at first.
lmao, right? Always something.
good job dude
Loading collection data...
First i tried dividing by 4 to see what it would give me, then i realized that i could round up if i divided by 3.
Thank you for reply + couple of keywords) Im trying to find purpose for "kumite" thing thus bothering people around.. that the spirit, i guess
gotta have some fun with llvm intermediates x)
Of course !!
I was not running for perf...
Use of a rand instead of a mersenne twister, etc.. and even the use of std:experimental::simd etc...
Note on your note: any modern compiler will unroll the loop, and... turn i++ into ++i.. 😀
didnt even think about this.
I didn't know until now that you can directly join stuff to a string without introducing a variable. you learn something every day ig.
Hello, nice solution but you don't need to add tolower.
"The input string will only consist of lower case letters and/or spaces."
Clearest solution to understand out of all voted for Best Practices. I like this approach the most
Why do you need curly brackets?
This comment is hidden because it contains spoiler information about the solution
Best practice for pythonist.
I needed to add:
#include <algorithm>
to get this to compile.
I used the following compilation command:
g++ --std=c++17 -o a.out a.cpp
on ChromeOS virtualized Linux environment:
penguin 5.15.117-19679-g172023e664f7
This was a genius way to solve this problem. Kudos to you.
Clever but if you were to pass this code onto someone else or include it in a larger script it would be diffcult to understand at first.
lmao, right? Always something.
good job dude
Loading more items...