行列式计算
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.
行列式
题目描述
线性代数中有一个叫“行列式”的重要运算,对于二阶矩阵,我们定义它的行列式为。
现在给定 ,请计算 的值是多少。
输入格式
输入共一行四个整数 。
输出格式
输出共一行一个整数,代表 的值。
样例 #1
样例输入 #1
3 7 4 9
样例输出 #1
-1
提示
样例说明1
$\begin{vmatrix} 3 & 7 \\ 4 & 9 \end{vmatrix} = 3 \times 9 - 4 \times 7 = -1$。
数据规模与约定
对于 的数据,保证 。
初一1、2非竞赛组期中考
- Status
- Done
- Rule
- OI
- Problem
- 8
- Start at
- 2023-11-14 15:20
- End at
- 2023-11-14 16:50
- Duration
- 1.5 hour(s)
- Host
- Partic.
- 48