Quantcast
Channel: MyCoding.net » Java
Viewing latest article 8
Browse Latest Browse All 17

Code jam “Minimum Scalar product” solution in java

$
0
0
This question was asked in Round 1 of Code Jam 2008 contest. The problem You are given two vectors v1=(x1,x2,…,xn) and v2=(y1,y2,…,yn). The scalar product of these vectors is a single number, calculated as x1y1+x2y2+…+xnyn. Suppose you are allowed to …

[Continue reading]

Viewing latest article 8
Browse Latest Browse All 17

Latest Images

Trending Articles



Latest Images