Problen:10071 - Back to High School Physics
Code:
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long a,b;
while(cin>>a>>b)
{
cout<<2*a*b<<endl;
}
return 0;
}
Code:
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long a,b;
while(cin>>a>>b)
{
cout<<2*a*b<<endl;
}
return 0;
}
No comments:
Post a Comment