UVA Online Judge Solutions in C++
3/16/2013
10071 Back to High School Physics - UVA
#include<iostream>
using
namespace
std
;
int
main
(
)
{
int
velocity ,
time
;
while
(
cin
>>
velocity
>>
time
)
{
int
displacement
=
2
*
velocity
*
time
;
cout
<<
displacement
<<
endl
;
}
return
0
;
}
You can find more of my solutions on
Here
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment