8 kyu

Pillars

10,484 of 28,015petrosernivka

Description:

There are pillars near the road. The distance between the pillars is the same and the width of the pillars is the same. Your function accepts three arguments:

  1. number of pillars (≥ 1);
  2. distance between pillars (10 - 30 meters);
  3. width of the pillar (10 - 50 centimeters).

Calculate the distance between the first and the last pillar in centimeters (without the width of the first and last pillar).

Fundamentals
Mathematics

Stats:

CreatedSep 30, 2018
PublishedSep 30, 2018
Warriors Trained47863
Total Skips2152
Total Code Submissions70548
Total Times Completed28015
JavaScript Completions10484
Python Completions9205
Ruby Completions563
C Completions1275
Haskell Completions304
PHP Completions1059
C++ Completions2715
R Completions277
Scala Completions325
Julia Completions71
COBOL Completions23
C# Completions1401
Java Completions1492
NASM Completions19
Rust Completions205
Total Stars304
% of votes with a positive feedback rating87% of 2645
Total "Very Satisfied" Votes2086
Total "Somewhat Satisfied" Votes442
Total "Not Satisfied" Votes117
Total Rank Assessments6
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • petrosernivka Avatar
  • Chrono79 Avatar
  • adrian.eyre Avatar
  • Blind4Basics Avatar
  • Madjosz Avatar
  • FArekkusu Avatar
  • Awesome A.D. Avatar
  • hobovsky Avatar
  • cliffstamp Avatar
  • agutierrez-datio Avatar
  • stellartux Avatar
  • mirekfranc Avatar
  • akar-0 Avatar
  • Wei-Ting Yang Avatar
  • yLaWy Avatar
  • Rahim Mammadzada Avatar
  • KayleighWasTaken Avatar
  • javier.rm Avatar
Ad