i don't understand the meaning of this sentence : Choose two
permutations such that the scalar product of your two new vectors is
the smallest possible, and output that minimum scalar product.
Why two???
One permutation for each of the vectors.
--
You received this message because you
Without experience you will be disapointed while using C++; it seems Java
has many out of the box functions that you can use!! so don't be shy, go
straight forward to java programming!!
2011/4/29 MUCYO Placide mup...@gmail.com
I would like to know if I can have assistance from you or guidance
I would like to know if I can have assistance from you or guidance about
matlab programming I wanna be expert by self teaching .
Please advise me.
On Fri, Apr 29, 2011 at 2:56 AM, junaid ahmed junaidahmedcs...@gmail.comwrote:
can some one please tell me that on what topics should i focus more. I
Can you please specify the problem?
On Thu, Apr 28, 2011 at 10:49 AM, vettukal vettu...@gmail.com wrote:
May be this solve the problme
BigInteger product = new BigInteger(0);
BigInteger first = new BigInteger(0);
BigInteger second = new BigInteger(0);
@vettukal:
Looks like you are using Topcoder's CodeProcessor plugin... ;)
On Thu, Apr 28, 2011 at 11:32 AM, Umer Farooq the.um...@gmail.com wrote:
Can you please specify the problem?
On Thu, Apr 28, 2011 at 10:49 AM, vettukal vettu...@gmail.com wrote:
May be this solve the problme
Thank all !!
I found the problem.
wrong line = long temp = u[i]*v[dim-i-1];
line after correction = long temp = (long) u[i]*v[dim-i-1];
It was a casting problem
2011/4/28 Umer Farooq the.um...@gmail.com
Can you please specify the problem?
On Thu, Apr 28, 2011 at 10:49 AM,
can some one please tell me that on what topics should i focus more. I am
good at C++. Is it sufficient enough.
thanks
junaid
On Thu, Apr 28, 2011 at 1:16 PM, Seydou TAPSOBA taps...@gmail.com wrote:
Thank all !!
I found the problem.
wrong line = long temp = u[i]*v[dim-i-1];
/*
* using big integer solved the problem.
* dont know the problem with ur code.
* Try this.
BigInteger product = new BigInteger(0);
BigInteger first = new BigInteger(0);
BigInteger second = new BigInteger(0);
for(int i=0;iatomList.length;i++)
May be this solve the problme
BigInteger product = new BigInteger(0);
BigInteger first = new BigInteger(0);
BigInteger second = new BigInteger(0);
for(int i=0;iatomList.length;i++)
{
first=new