如果t时间后的速度为v,那么2*t的时间内的位移是多少?
多组测试数据,纯物理问题,2t时间中速度达到2v,位移公式$$s=(0+2v)/22t=2v*t$$
#include<iostream> using namespace std; int main() { int v,t; while(cin>>v>>t) cout<<(2*v*t)<<endl; return 0; }
← UVA10055 - Hashmat the Brave Warrior UVA10106 - Product→