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.
If the number returned is greater than 4, then it's an error.
I did the same, but what if
n = 2_147_483_647
?This comment is hidden because it contains spoiler information about the solution
If you add or subtract zero, the result will not change, but there will be no unnecessary operation.
I also summed it up with zero.
Probably, I should use
let mut rna: String = String::new()'
- it will be more easier, andfor i in dna.chars() {
.Return just rna.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
My GPU is sucks, and now i know why - the math
I send the number 0..=255 to 'quarter_of()' and receive the number 1..=4 in response, but there are only 12 months - can I make 'quarter_of()' notify about an error when receiving the number > 12 ?