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

Stats:

CreatedSep 16, 2015
PublishedSep 16, 2015
Warriors Trained236282
Total Skips13201
Total Code Submissions356121
Total Times Completed192459
C# Completions11934
Python Completions66664
JavaScript Completions71160
Ruby Completions3476
CoffeeScript Completions48
Prolog Completions111
CFML Completions41
Elixir Completions321
Haskell Completions901
PHP Completions3768
Pascal Completions328
C++ Completions11918
Crystal Completions37
Julia Completions116
Java Completions15674
TypeScript Completions2668
R Completions343
COBOL Completions59
SQL Completions4065
NASM Completions91
Rust Completions1845
Scala Completions148
C Completions2225
RISC-V Completions23
Lua Completions109
Total Stars704
% of votes with a positive feedback rating90% of 11511
Total "Very Satisfied" Votes9603
Total "Somewhat Satisfied" Votes1595
Total "Not Satisfied" Votes313
Total Rank Assessments349
Average Assessed Rank
7 kyu
Highest Assessed Rank
1 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Vortus Avatar
  • jhoffner Avatar
  • paragonHex Avatar
  • Unnamed Avatar
  • CrazyMerlyn Avatar
  • SleepingCode Avatar
  • XeuRun Avatar
  • maxprilutskiy Avatar
  • Chrono79 Avatar
  • Goncalerta Avatar
  • B1ts Avatar
  • barakplasma Avatar
  • Voile Avatar
  • Souzooka Avatar
  • FArekkusu Avatar
  • Getman Avatar
  • hobovsky Avatar
  • uniapi Avatar
  • FWMoor Avatar
  • sebostien Avatar
  • user8436785 Avatar
  • taryneast Avatar
  • ejini战神 Avatar
  • Shane-Xue Avatar
  • akar-0 Avatar
  • user3232161 Avatar
  • KayleighWasTaken Avatar
  • metatable Avatar
Ad