Hello World
Monday, 18 June 2012
UVa 12463 - Little Nephew Solution
#include<iostream>
using namespace std;
int main()
{
long long a,b,c,d,e;
while(cin>>a>>b>>c>>d>>e && a && b && c && d &&e)
{
cout<<a*b*c*d*d*e*e<<endl;
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment