7 kyu

Upper <body> Strength

594 of 1,431coudrew

Description:

Alex is transitioning from website design to coding and wants to sharpen his skills with CodeWars.
He can do ten kata in an hour, but when he makes a mistake, he must do pushups. These pushups really tire poor Alex out, so every time he does them they take twice as long. His first set of redemption pushups takes 5 minutes. Create a function, alexMistakes, that takes two arguments: the number of kata he needs to complete, and the time in minutes he has to complete them. Your function should return how many mistakes Alex can afford to make.

Fundamentals

More By Author:

Check out these other kata created by coudrew

Stats:

CreatedApr 19, 2016
PublishedApr 19, 2016
Warriors Trained3387
Total Skips100
Total Code Submissions6377
Total Times Completed1431
JavaScript Completions594
Ruby Completions90
Python Completions563
Haskell Completions52
Julia Completions13
CoffeeScript Completions9
Crystal Completions10
C Completions38
C++ Completions81
D Completions7
Go Completions51
Rust Completions50
NASM Completions7
Total Stars49
% of votes with a positive feedback rating89% of 322
Total "Very Satisfied" Votes261
Total "Somewhat Satisfied" Votes48
Total "Not Satisfied" Votes13
Total Rank Assessments35
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • coudrew Avatar
  • bkaes Avatar
  • GiacomoSorbi Avatar
  • Voile Avatar
  • bidouille Avatar
  • trashy_incel Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
Ad