练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.
说明
在线性代数、计算几何中,向量点积是一种十分重要的运算。
给定两个 维向量\vec{a}=(a_1,a_2,a_3,...,a_n)和\vec{b}=(b_1,b_2,b_3,...,b_n),求点积 。
输入格式
第一行是一个整数 ();
第二行包含 个整数;
第三行包含 个整数;
相邻整数之间用单个空格隔开。每个整数的绝对值都不超过 。
输出格式
输出向量点积。
样例
7
7 8 9 4 8 7 8
3 7 4 7 9 9 7332
认识vector
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 6
- Start at
- 2025-10-28 23:15
- End at
- 2025-10-29 9:15
- Duration
- 10 hour(s)
- Host
- Partic.
- 28