posted 2 years ago

Hi,

I'm trying to find out the minimum scalar product of a given two vectors. I've succeeded in my attempt to find out the minimum scalar product. I found the question here. I'm trying to solve the small input. My program calculates the minimum scalar product for all 1000 cases but is only writing 845 of them to the file. I don't understand what's the problem. I think it may have something to do with FileWriter. Any help is much appreciated.

My code is given below:

I'm trying to find out the minimum scalar product of a given two vectors. I've succeeded in my attempt to find out the minimum scalar product. I found the question here. I'm trying to solve the small input. My program calculates the minimum scalar product for all 1000 cases but is only writing 845 of them to the file. I don't understand what's the problem. I think it may have something to do with FileWriter. Any help is much appreciated.

My code is given below:

Campbell Ritchie

Marshal

Posts: 56525

172