8 kyu
Beginner Series #1 School Paperwork
11,934 of 192,459Vortus
Description:
Your classmates asked you to copy some paperwork for them. You know that there are 'n' classmates and the paperwork has 'm' pages.
Your task is to calculate how many blank pages do you need. If n < 0
or m < 0
return 0
.
Example:
n= 5, m=5: 25
n=-5, m=5: 0
Waiting for translations and Feedback! Thanks!
Fundamentals
Similar Kata:
Stats:
Created | Sep 16, 2015 |
Published | Sep 16, 2015 |
Warriors Trained | 236282 |
Total Skips | 13201 |
Total Code Submissions | 356121 |
Total Times Completed | 192459 |
C# Completions | 11934 |
Python Completions | 66664 |
JavaScript Completions | 71160 |
Ruby Completions | 3476 |
CoffeeScript Completions | 48 |
Prolog Completions | 111 |
CFML Completions | 41 |
Elixir Completions | 321 |
Haskell Completions | 901 |
PHP Completions | 3768 |
Pascal Completions | 328 |
C++ Completions | 11918 |
Crystal Completions | 37 |
Julia Completions | 116 |
Java Completions | 15674 |
TypeScript Completions | 2668 |
R Completions | 343 |
COBOL Completions | 59 |
SQL Completions | 4065 |
NASM Completions | 91 |
Rust Completions | 1845 |
Scala Completions | 148 |
C Completions | 2225 |
RISC-V Completions | 23 |
Lua Completions | 109 |
Total Stars | 704 |
% of votes with a positive feedback rating | 90% of 11511 |
Total "Very Satisfied" Votes | 9603 |
Total "Somewhat Satisfied" Votes | 1595 |
Total "Not Satisfied" Votes | 313 |
Total Rank Assessments | 349 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 1 kyu |
Lowest Assessed Rank | 8 kyu |