Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
crisluca
Feb 26th, 2020
43
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using namespace std;
int main()
{
float v,dkm;
int d, t;
cin>>v>>d;
dkm=d/1000.0;//km
t=60*dkm/v; //minute
if(t!=60*dkm/v)
t++;
cout<<t;
return 0;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
11. Even Number
Java | 3 min ago | 0.52 KB
09. Sum of Odd Numbers
Java | 4 min ago | 0.55 KB
08. Divisible by 3
Java | 4 min ago | 0.22 KB
07. Theatre Promotion
Java | 5 min ago | 1.35 KB
05. Month Printer
Java | 5 min ago | 0.90 KB
04. Time After 30 Minutes
Java | 6 min ago | 0.65 KB
03. Passed or Failed
Java | 6 min ago | 0.41 KB
01. Student Information
Java | 7 min ago | 0.47 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!