# DCP-196: Break Simulator Back to All Problems

A car manufacturing company is designing some new breaking system for their new model. For this, they need a small piece of code that will calculate the deceleration rate of the car. This will be added in their simulation software to simulate the new model's behaviour. Make sure you write the code properly to avoid a situation in the testing lab like in the below picture: ![enter image description here][1] You will be given the initial velocity of the car and the time over which the car is supposed to completely halt. You have to calculate the deceleration of the car. Input: ------ Input starts with an integer **T (1≤ 50)**, denoting the number of test cases. Each case contains two fraction number **V(20.0 ≤ V ≤ 1000.0)** denoting the initial velocity (m/s) of the car and T(2.0 ≤ T ≤ 200.0) denoting the number of seconds (s) that the car takes to stop completely. Output: ------- For each case of input, output one number in a line that denotes the deceleration of the car. Remember, it should always be a negative value. Print the value upto 2 decimal places. Sample Input ------------ 2 100 5 20 4 Sample Output ------------- -20.00 -5.00 [1]: https://s3-ap-southeast-1.amazonaws.com/devskillimagestorage/questionimages/74bc4ee0-3883-caff-ee78-08d409d7c3e3_6894c98f0ea843dfab89951a9337f93e_W260xH260.png

### Problem Limits

 Language Time Limit (seconds) C 1.00 C++ 1.00 C++14 1.00 C# 2.00 Go 2.00 Java 2.00 JavaScript 2.00 Objective-C 2.00 Perl 2.00 PHP 2.00 Python 2.00 Python3 2.00 Ruby 2.00 VB.Net 2.00

# 721/1223

Solve/Submission

### Ranking

# User Language Timing
01 ShahiPapon Cpp14 0.00s
02 asfak Cpp14 0.00s
03 sukanta Cpp14 0.00s
04 jualahmed Cpp14 0.00s
05 ih_hira Cpp14 0.00s
06 saprince093 Cpp14 0.00s
07 JubayerSohel Cpp14 0.00s
08 MarufAhmed Cpp14 0.00s
09 AlaminJust Cpp14 0.00s
10 leenaiitju Cpp14 0.00s
11 Rahmatullah Cpp14 0.00s
12 The_Viper Cpp14 0.00s
13 TheMhPro Cpp14 0.00s
14 Ansarul_14 Cpp14 0.00s
15 Ashish972 Cpp14 0.00s
16 ash12 Cpp14 0.00s
17 inam Cpp14 0.00s
18 jayed_al_hasan Cpp14 0.00s
19 Avijeet Cpp14 0.00s
20 iftekher2283 Cpp14 0.00s
21 terminator_c Cpp14 0.00s
22 gulzar Cpp14 0.00s
23 naim_ju Cpp14 0.00s
25 rezaul_karim Cpp14 0.00s
26 Nazmul0092 Cpp14 0.00s
27 Sheiblu Cpp14 0.00s
28 HM39 Cpp14 0.00s
29 Rakib05 Cpp14 0.00s
30 gsshanto Cpp14 0.00s
31 Core_i14 Cpp14 0.00s
32 hidden139 Cpp14 0.00s
33 hmtanbir Cpp14 0.00s
34 joy25896 Cpp14 0.00s
35 DynamicOvi Cpp14 0.00s
37 SakibAlamin Cpp14 0.00s
38 Maximize_16 Cpp14 0.00s
39 Koushik54 Cpp14 0.00s
40 ammasum Cpp14 0.00s
42 upol_vai Cpp14 0.00s
43 Nijhum1604125 Cpp14 0.00s
44 Sakif_1604124 Cpp14 0.00s
45 _JaHid_ Cpp14 0.00s
46 opu1604073 Cpp14 0.00s
47 shibli1604128 Cpp14 0.00s
48 noyonhossen Cpp14 0.00s
49 JAMEE Cpp14 0.00s
50 Shibly1604111 Cpp14 0.00s
Feedback