Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
easy pisy
This comment is hidden because it contains spoiler information about the solution
it was better to use const auto& i in the range based loop for speed optimizations instead of creating strings in the vector size for the real strings data! but the approach can be considered as mature enough
Good
or just an array as number can be an index so the array is of strings
also using map
map<int,stirng> nums{{0,"Zero"},...};
return nums[number];
mashaallah :)
This comment is hidden because it contains spoiler information about the solution
Nice 👍👍
ذكي
nice
Wouldn't consider this as a problem because libraries are namespaced, and I see no
using namespace ...
in the code.😀
Why
#include <bits/stdc++.h>
?