练51.1 向量点积计算
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
In linear algebra and computational geometry, vector dot product is a very important operation.
Given two -dimensional vectors and , calculate their dot product .
Input Format
The first line contains an integer ();
The second line contains integers;
The third line contains integers;
Adjacent integers are separated by a single space. The absolute value of each integer does not exceed .
Output Format
Output the vector dot product.
Sample
7
7 8 9 4 8 7 8
3 7 4 7 9 9 7332
20230913C班作业(1)
- Status
- Done
- Problem
- 6
- Open Since
- 2025-9-13 0:00
- Deadline
- 2025-9-21 23:59
- Extension
- 24 hour(s)