CodeMan
Home
Uva
AtCoder
Codechef
Codeforce
Hackerrank
LeetCode
Devskill
TopCoder
Spoj
Algorithm
Python3
Hackerearth
Uri
C++
Data Structure
Saturday, November 12, 2016
Dev-skills -- Break Simulator
/* CODEMAN
Arif Khan Nihar
Problem - Break Simulator
*/
#
include
<
bits/stdc++.h
>
using
namespace
std
;
int
main
()
{
double
v,t,ans=
0
;
int
n;
cin>>n;
while
(n--) {
cin>>v>>t;
ans = (v/t)*(-
1
);
printf
(
"
%.2lf
\n
"
,ans);
}
return
0
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment