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.
What do you mean, this kata is extremely good to learn things like optimizing your code...
I solved this stupid kata when I was 6kyu. I am the ONE! fWorld!!!
I solved this kata in C programming language.
Newcomers, listen to me. This kata is not about programming skill. You are going to learn almost nothing with this kata. Do not waste your important time here. Escape from here and find more usefull katas. You will thank to me later.
The question sentence is wrong. "Write a code that gives out the total amount for different days(d)." It asks total money for different days. But code check minimum price on given day.
You are right. I am wrong because of compiler. (int)(int/int) != (int)(float/float)
Not a kata suggestion, and please don't post solutions on Discourse.
No, your code is wrong. It fails with inputs like this:
1492616576
. Please read this: https://docs.codewars.com/training/troubleshootingThis comment is hidden because it contains spoiler information about the solution