close
#include <iostream>
using namespace std;
int main()
{
int v,t;
while(cin>>v>>t)
{
if(-100<=v && v<=100 && 0<=t && t<=200)
{
cout<<v*2*t<<endl;
}
}
}
※查詢其他CPE題目如下※
全站熱搜
#include <iostream>
using namespace std;
int main()
{
int v,t;
while(cin>>v>>t)
{
if(-100<=v && v<=100 && 0<=t && t<=200)
{
cout<<v*2*t<<endl;
}
}
}
※查詢其他CPE題目如下※
留言列表